Skip to content

Commit

Permalink
new parser for UTC in IE since it doesn't handle those natively.
Browse files Browse the repository at this point in the history
  • Loading branch information
3n committed Oct 23, 2009
1 parent abb6f7c commit 26947b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Native/Date.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ Date.defineParsers(
'%x( %X)?', // "12/31", "12.31.99", "12-31-1999", "12/31/2008 11:59 PM"
'%d%o( %b( %Y)?)?( %X)?', // "31st", "31st December", "31 Dec 1999", "31 Dec 1999 11:59pm"
'%b( %d%o)?( %Y)?( %X)?', // Same as above with month and day switched
'%Y %b( %d%o( %X)?)?' // Same as above with year coming first
'%Y %b( %d%o( %X)?)?', // Same as above with year coming first
'%o %b %d %X %T %Y' // "Thu Oct 22 08:11:23 +0000 2009"
);

MooTools.lang.addEvent('langChange', function(language){
Expand Down

0 comments on commit 26947b5

Please sign in to comment.