From c6edce6446017603e20e49feea413c8b45b41b81 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 15 Apr 2015 20:03:06 +0100 Subject: [PATCH] typo --- source/Ox/js/Type.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Type.js b/source/Ox/js/Type.js index 1bc09f73..4c7b7737 100644 --- a/source/Ox/js/Type.js +++ b/source/Ox/js/Type.js @@ -248,7 +248,7 @@ Ox.isInvalidDate 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()); };