JosephMajaseSithole / datejs

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

[FIXED] Parse 'jan 2008' doesn't return 1/1/2008 #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Parse a date like 'jan 2008' or '1 2008'
2.
3.

What is the expected output? What do you see instead?
The expected output would be january 1, 2008. the actual result is january
27 2008. The day number is incorrect, it uses the day number of the actual
date.

What version of the product are you using? On what operating system?
1.0 alpha 1, 24th March 2008

Please provide any additional information below.
All other months return the correct result. It is just January that returns
the current day number rather than the 1st. The same error occurred for any
year I tried.

Original issue reported on code.google.com by dallasta...@gmail.com on 27 Mar 2008 at 9:00

GoogleCodeExporter commented 8 years ago
@dallastaylor - Thanks for reporting this bug. I will fix immediately.

Original comment by geoff%co...@gtempaccount.com on 27 Mar 2008 at 9:02

GoogleCodeExporter commented 8 years ago
ok, the bug has been fixed.

The CHANGELOG (2008-03-27) can be viewed at the following location...

http://code.google.com/p/datejs/source/browse/trunk/CHANGELOG.txt

As well, I added a pile of tests to check for partial date string parsing. You 
can
view online at http://www.datejs.com/test/partial/.

Thanks again for pointing out the defect!

Original comment by geoff%co...@gtempaccount.com on 27 Mar 2008 at 10:17