Example image:
Where multiple clocks from different time zones are displayed adjacent to the clock that is normally there in the top bar of Ubuntu 19.
Example image:
Where multiple clocks from different time zones are displayed adjacent to the clock that is normally there in the top bar of Ubuntu 19.
Expanding on vanadium's answer, here's an example file to put multiple clocks up on your top bar:
Just install the argos GNOME extension from here: https://extensions.gnome.org/extension/1176/argos/
create a new text file called timezones.left.1s.sh in the folder ~/.config/argos/
NOTE: (the filename tells argos you want it as far left as possible, and refreshes the script every 1 second - otherwise the time will not refresh!)
Edit that file and paste this sample in:
#!/usr/bin/env bash
echo -n "Denver - " ;
TZ='America/Denver' date +%H:%M\ %Z | tr -d '\n' ;
echo -n " • " ;
echo -n "Texas - " ;
TZ='America/Chicago' date +%H:%M\ %Z | tr -d '\n' ;
Modify to your liking.
Lacking a working dedicated Gnome Shell extension, you could create your own indicators using the Gnome Shell extension "Argos". Argos is a very well maintained Gnome Shell extension that allows you to turn any command/script output into an indicator on your panel. Thus, you could use it to create indicators that show the time of different time zones.
For example, you can retrieve data and time for a specific time zone with a command such as
TZ='America/Los_Angeles' date
Use the command tzselect
to find the TZ variable for your zone of interest.
Check the very good documentation on the Argos website to learn how you can create an indicater showing you the output of that command on your panel.