typo
This commit is contained in:
parent
fbc02301b5
commit
c6edce6446
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ Ox.isInvalidDate <f> Tests if a value is an invalid date
|
|||
> Ox.isInvalidDate(new Date('foo'))
|
||||
true
|
||||
*/
|
||||
Ox.isValidDate = function(value) {
|
||||
Ox.isInvalidDate = function(value) {
|
||||
return Ox.isDate(value) && Ox.isNaN(value.getTime());
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue