== '' --> === ''

This commit is contained in:
rlx 2011-11-02 16:00:54 +00:00
parent d5733c2c5d
commit be4d7c9124

View file

@ -122,7 +122,7 @@ Ox.formatDate <f> 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);