Closed GoogleCodeExporter closed 9 years ago
We're working on this problem right now. The parser is figuring out the string
properly, but a problem happens somewhere after the date is passed back into the
library. I think. Anyways, a fix is imminent.
Original comment by geoff%co...@gtempaccount.com
on 28 Nov 2007 at 8:41
Found the problem. Of course it's always the simplest things.
The 'week' regex pattern was not checking for the plural form 'weeks' only
'week'.
The fixed should be checked into SVN shortly. If you need the fix immediately,
please
search your date.js file for the following string...
/^w(ee)?k/i,
... add replace with the following ...
/^w((ee)?k)?s?/i,
We should have had a test case that included week math. Now we do, see
http://www.datejs.com/test/relative/
The www.datejs.com "Mad Skillz" widget has been updated and now works with "+5
weeks".
Original comment by geoff%co...@gtempaccount.com
on 28 Nov 2007 at 9:21
Original issue reported on code.google.com by
elbig...@gmail.com
on 28 Nov 2007 at 8:31