From be4d7c912425e6dbf47eec0edc8bf729dd8fda2b Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 2 Nov 2011 16:00:54 +0000 Subject: [PATCH] == '' --> === '' --- source/Ox/js/Format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index 334e87d3..a489e3c1 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -122,7 +122,7 @@ Ox.formatDate Formats a date according to a format string Ox.formatDate = function(date, str, utc) { // fixme: date and utc are optional, date can be date, number or string - if (date == '') { + if (date === '') { return ''; } date = Ox.makeDate(date);