cattechnologies / datejs

Automatically exported from code.google.com/p/datejs
Other
0 stars 0 forks source link

Support for parsing W3C date format level 6 (with fraction of seconds) #144

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Date.parse() doesn't seem to be able to parse the 6th level of the W3C date 
format [1]:

   Complete date plus hours, minutes, seconds and a decimal fraction of a
second
      YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)

I'm willing to add support for this, but I didn't found how to build datejs ?

[1] http://www.w3.org/TR/NOTE-datetime

Original issue reported on code.google.com by arnaud.lb on 16 Jan 2012 at 12:58

GoogleCodeExporter commented 8 years ago
This would also be useful for people using python datetimes, which print 
fractional seconds by default, i.e. "2012-05-10 15:12:52.787000".

Original comment by vtir...@asymmetricventures.com on 10 May 2012 at 3:54

GoogleCodeExporter commented 8 years ago
Fixed in the current build of my fork (it's a dupe of another bug) : 
https://github.com/abritinthebay/datejs

Original comment by darkcr...@gmail.com on 10 Sep 2013 at 12:01