#2474: II belive that in ISO8601 the date and time should be separated by a 'T',
not a space
-------------------------------+--------------------------------------------
Reporter: MagnusTherning | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.8.3
Severity: normal | Resolution: wontfix
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-------------------------------+--------------------------------------------
Comment (by josef):
I'm with Magnus on this one. A correct date has 'T' as a separator. Igloo,
if you read further on the Wikipedia page you will find the following
passage:
The date and time representations may appear in proximity to each other,
often separated by a space or sometimes by other characters. In these
cases they occupy two separate fields in a data system, rather than a
single combined representation. This is usually done for human
readability. Unlike the previous examples, "2007-04-05 14:30" is
considered two separate, but acceptable, representations—one for date and
the other for time. It is then left to the reader to interpret the two
separate representations as meaning a single time point based on the
context.
This should make it clear that it is somewhat dubious to use space as a
separator.
There are many implementations of dates that are sloppy when it comes to
delimiters because most date parsers are rather forgiving. I think we
should hold ourselves to a higher standard than that. It's a simple fix
and there no reason not to do it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2474#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs