== '' --> === ''
This commit is contained in:
parent
d5733c2c5d
commit
be4d7c9124
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue