Red Hat Bugzilla – Bug 10535
strftime() of gmtime() malfunctions in DST environments
Last modified: 2007-04-18 12:26:30 EDT
If you feed POSIX::strftime() gmtime()'s output, the results are
one hour later than they should be if you happen to be in DST at the
perl -e 'use POSIX; print POSIX::strftime("%H:%M\n", gmtime(time()));';
date -u; date
Mon Apr 3 06:45:58 UTC 2000
Mon Apr 3 02:45:58 EDT 2000
assigned to nalin
Has this behaviour changed in later releases?
This behavior seems to no longer be there on Red Hat 7.3, Red Hat 9,
or Fedora Core 2. I suspect that this bug report can thus be closed.
(Sorry I didn't reply to this for a while...)