[Issue 24704] DateTime.fromISOExtString Does Not Support ISO8601 Time Unit Fractions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 15 16:36:45 UTC 2024


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

--- Comment #4 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
(In reply to Jonathan M Davis from comment #3)
> As such, if you have an ISO or ISO extended string which may contain
> fractional seconds, you should use SysTime's fromISO(Ext)String, not
> DateTime's.

And if for some reason, you really do need a DateTime rather than a SysTime,
you can cast the resulting SysTime to a DateTime.

--


More information about the Digitalmars-d-bugs mailing list