Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #318 (closed defect: worksforme)

Opened 17 years ago

Last modified 16 years ago

Problem with iso8601 description.

Reported by: renoX Assigned to: JJR
Priority: minor Milestone: Documentation
Component: Documentation Version:
Keywords: Cc:

Description

In tango's documentation in tango.text.convert.TimeStamp?, the function iso8601 is described as: 'ISO-8601 format :: "2006-01-31 14:49:30,001"'

But this example string is *not* compliant with ISO-8601 format: no T between the day and the hour and a ',' instead of a '.'.

I don't know if the implementation is incorrect also.

Change History

03/08/07 15:51:19 changed by renoX

I just found that the T between the day and the hour is optional http://www.cl.cam.ac.uk/~mgk25/iso-time.html

10/30/07 22:15:06 changed by larsivi

  • status changed from new to closed.
  • resolution set to worksforme.

The comma is allowed too (and the most common in certain situations apparently). So closing this. iso8601 will most likely be phased out in favor of tango.util.time.ISO8601.