forked from 0x2620/oxjs
fix Ox.parseDate()
This commit is contained in:
parent
ab6a07d137
commit
13669aec63
3 changed files with 22 additions and 15 deletions
|
|
@ -161,7 +161,7 @@ Ox.Calendar = function(options, self) {
|
|||
var date = new Date();
|
||||
date.setUTCFullYear(Math.floor(i / 12) + 1970);
|
||||
date.setUTCMonth(Ox.mod(i, 12));
|
||||
date.setUTCDate(0);
|
||||
date.setUTCDate(0); // fixme: WTF??
|
||||
return date;
|
||||
//*/
|
||||
//return new Date(Date.UTC(Math.floor(i / 12) + 1970, Ox.mod(i, 12), 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue