[Issue 8646] std.datetime ISO strings are incompatible with ISO 8601
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 12 10:38:02 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8646
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jmdavisProg at gmx.com
Resolution| |INVALID
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-12 10:38:22 PDT ---
It's perfectly legit. Reread the Times section. You can have "decimal
fractions" (which is a really screwed up term IMHO, since decimals and
fractions are different things, but whatever) to any of the three time elements
- including seconds. The number of decimal places to use "needs to be agreed to
by the communicating parties," but the notation is correct. If there's a
problem, it's the fact that fromISOExtString doesn't accept variants of
ISO-8601 that toISOExtString doesn't use (e.g. using a comma instead of a
decimal or having decimal fractions for minutes). But they both follow the
standard.
There are other places online that fractional seconds are discussed as well.
e.g. http://www.cl.cam.ac.uk/~mgk25/iso-time.html
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list