[Issue 17922] SysTime.to

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 21 10:07:18 UTC 2017


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

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m

--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
So, what's the bug? toISOString does incorrectly put a colon in the timezone,
which is bug

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

But the others are supposed to put a colon there. Were you expecting that there
wouldn't be a :00 on the end because you passed a string without it to
fromISOExtString? It's not like the SysTime keeps track of how it was created.
Or did you expect that the :00 would be stripped off just because it's zeroes?
Or is it something else? to*String never strips out zeroes from the time zone
if that's what you're looking for.

--


More information about the Digitalmars-d-bugs mailing list