This commit is contained in:
rolux 2015-04-15 20:03:06 +01:00
parent fbc02301b5
commit c6edce6446

View file

@ -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());
};