[Issue 13533] std.datetime should support custom parsing and formatting functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 22 09:57:29 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13533

--- Comment #5 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
(In reply to Martin Nowak from comment #4)
> Is there a specific reason that SimpleTimeZone.fromISOString isn't public?

It was never designed to be public. It's just a helper function for the
from*String functions on SysTime. There's nothing on any of the TimeZone
classes for converting to or from strings.

Though that reminds me... I need to create a bug report and fix how
to/fromISOString deal with time zones, because they're dealt with exactly the
same way that the to/fromISOExtString deals with them (including the : between
the hours and minutes), and I'm pretty sure that that's not legit for
non-extended ISO (though I need to verify that).

--


More information about the Digitalmars-d-bugs mailing list