[phobos] [D-Programming-Language/phobos] 25df7d: Fix build breakage due to std.zlib changes.
Jonathan M Davis
jmdavisProg at gmx.com
Sun Nov 6 02:44:34 PST 2011
On Sunday, November 06, 2011 02:01:15 Brad Roberts wrote:
> On 11/6/2011 1:12 AM, Jonathan M Davis wrote:
> > Obviously, either e-mail in general doesn't embed its time in UTC, or my
> > e- mail reader isn't smart about how it sorts time, because it's
> > sorting the fix as being _before_ the commit which broke the build, due
> > to the fact that my e- mail was sent right after a DST switch.
> >
> > Ah, the wonders of DST. If only it could just be completely abolished.
> > Dealing with time and computers would be _so_ much easier.
> >
> > - Jonathan M Davis
>
> Similarly, the auto-tester builds are oddly ordered since they are sorted by
> time. Also time is used to determine when the most recent run is out of
> date compared to the most recent commit.
>
> I'll manually kick off a set of builds after 2am to make sure it's all
> unraveled.
Well, all in all, it's an example of why std.datetime.SysTime holds its time
in UTC and does all comparisons with that value with no regards to time zone
such that it's only when presenting its value does it convert it to the
appopriate time zone (e.g. when converting to a string). DST tends to screw up
all kinds of stuff for programs dealing with time.
- Jonathan M Davis
More information about the phobos
mailing list