# HG changeset patch # User Stiletto # Date 1566041110 -14400 # Node ID 5b62947790070bff1b6138196d7f8fbfcae9d403 # Parent e08bdbec1843488604d0d152aea2f48125bac021 [status-time] Support NOT changing timezone diff -r e08bdbec1843 -r 5b6294779007 status-time/time.c --- a/status-time/time.c Sat Aug 17 15:23:15 2019 +0400 +++ b/status-time/time.c Sat Aug 17 15:25:10 2019 +0400 @@ -22,7 +22,9 @@ setlocale(LC_TIME, LOCALE); #endif +#ifdef TIMEZONE setenv("TZ", TIMEZONE, 1); +#endif while (1) { bzero(buf, sizeof(buf));