This project is archived and is in readonly mode.

#915 ✓duplicate
tvr

Date.parse("1st") Regression

Reported by tvr | May 29th, 2010 @ 02:50 AM

I noticed a regression with one of the date parsers after updating from more-1.2.4.2 to more-1.2.4.4 today.

// More-1.2.4.2
Date.parse('1st'); //"Sat May 01 2010 00:00:00 GMT-0500 (EST)"

// More-1.2.4.4
Date.parse('1st'); //"Fri Jan 01 2010 00:00:00 GMT-0500 (EST)"

Its not too serious as I opted for the more explicit "new Date().set('date', 1)" but if this new result is what is now expected, the example in the documentation should be updated.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages