A day without midnight
There's at least one time zone that skips from 23:59:59 to 1:00:00 when
"springing forward" for DST. Does anyone know what it is?
The following normally gets today's date, but it fails one day a year for
time zones matching the above criteria.
$ perl -MDateTime -E'say DateTime->today( time_zone => $ARGV[0] )->ymd;' \
America/New_York
2013-08-28
No comments:
Post a Comment