wut: std.datetime.systime.Clock.currStdTime is offset from Jan 1st, 1 AD
Kagamin
spam at here.lot
Wed Jan 24 09:10:22 UTC 2018
On Wednesday, 24 January 2018 at 08:12:55 UTC, Jonathan M Davis
wrote:
> Thanks. I did it because I was sick of time-related bugs at
> work, and I wanted the language I wanted D to get it right. By
> no means do I claim that std.datetime is perfect, but IMHO,
> it's way better than what most languages typically have.
Rust's SystemTime has some questionable implementation details
too, but at least it's UTC-only and doesn't concern itself with
timezones.
More information about the Digitalmars-d
mailing list