If the TZ environment variable is set to GMT, use gmtime() 
instead of localtime() or ctime() to force the use of GMT.  
This is because the dietlibc doesn't honor the TZ environment 
variable.

4 files changed