Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/Aldaviva/d8 into Aldaviva-m…
Browse files Browse the repository at this point in the history
…aster

* 'master' of git://github.com/Aldaviva/d8:
  Off-by-1 month when coercing a date if the coerced month has fewer days than the current month
  • Loading branch information
constantology committed Jun 1, 2013
2 parents 0859e00 + 4d48b6f commit 79e340c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion d8.js
Expand Up @@ -155,7 +155,7 @@

if ( isNaN( parsers[DAY] ) ) parsers[DAY] = 1;

date.setYear( parsers[YEAR] ); date.setMonth( parsers[MONTH] ); date.setDate( parsers[DAY] );
date.setDate( parsers[DAY] ); date.setYear( parsers[YEAR] ); date.setMonth( parsers[MONTH] );

}
function parse_setTime( date, hr, min, sec, ms ) {
Expand Down

0 comments on commit 79e340c

Please sign in to comment.