pingjiang / datejs

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

datejs.com using newer version than what is available for download. (New version Fixes 12 PM parse issue) #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download date.js referenced in datejs.com html source
(datejs.com/build/date.js).
2. Download date.js offered at code.google.com/p/datejs/downloads/list
3. Compare Versions (date.js from datejs.com is newer)

Please update code.google.com/p/datejs/downloads/list to offer the newest
most stable version of date.js. (Fixes "12/08/09 12P" parse issue)

date.js from code.google.com/p/datejs/downloads/list has Build Date 13-Nov-2007
date.js referenced from datejs.com has Build Date: 2008-05-13

Both files are defined as having version "1.0 Alpha-1" however testing
shows that parsing string "12/08/09 12P" with date.js from datejs.com does
not result in null (parse error or invalid date) but does from date.js
downloaded from code.google.com/p/datejs/downloads/list.

In addition: date.js downloaded from
code.google.com/p/datejs/downloads/list has appears to be a windows
formated file (^M line terminators) where date.js from datejs.com

Original issue reported on code.google.com by cdf6...@gmail.com on 20 Nov 2009 at 6:47

GoogleCodeExporter commented 9 years ago
Yup, this project was basically abandoned by the original author (Geoffrey 
McGill). I've opened a fork and have been updating and bug fixing the library. 
It's available here: https://github.com/abritinthebay/datejs/

Original comment by darkcr...@gmail.com on 15 Sep 2013 at 12:27

GoogleCodeExporter commented 9 years ago
Thank you for putting this effort into the library!

Original comment by Aldav...@gmail.com on 15 Sep 2013 at 3:54

GoogleCodeExporter commented 9 years ago
"DateValue":"01/05/2014 12:00:00 ص" I tried to use this JSON value to convert 
into

$("#" + id).val(formatDate(new Date(item.DateValue), "yyyy/MM/dd"));

But it shows NaN/0NaN/0NaN is there anything fix?

Original comment by milson...@gmail.com on 2 May 2014 at 6:17