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);