diff --git a/web/document_properties.js b/web/document_properties.js index e0161fefe..eefbc0e1c 100644 --- a/web/document_properties.js +++ b/web/document_properties.js @@ -171,10 +171,10 @@ var DocumentProperties = { // As per spec, utRel = 'Z' means equal to universal time. // The other cases ('-' and '+') have to be handled here. - if (utRel == '-') { + if (utRel === '-') { hours += offsetHours; minutes += offsetMinutes; - } else if (utRel == '+') { + } else if (utRel === '+') { hours -= offsetHours; minutes += offsetMinutes; }