Discovering the XOs local timezone in a bash script

C. Scott Ananian cscott at
Sat Mar 12 22:06:56 EST 2011

Last I knew we used standard Linux conventions for timezones and sugar
called the standard Linux commands (via sudo) to set the timezone.
But that should make 'date' report the correct local time (unless you
use '-u') so maybe someone broke that sometime in the past two years.

Check /etc/timezone?

                         ( )

More information about the Devel mailing list