Skip to content

Commit f22410f

Browse files
tweak some more
WTF is going on with chameleon!!
1 parent 1828028 commit f22410f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

js/region.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -885,9 +885,10 @@ const get_timezone = () => new Promise(resolve => {
885885
offset = test - control
886886
}
887887
}
888-
oDebug[method][year].push(offset)
889-
if ("number" === typeof offset) {
890-
oData[method][year].push(offset/k)
888+
let newoffset = offset/k
889+
oDebug[method][year].push([offset, newoffset])
890+
if ("number" === typeof offset && "number" == typeof newoffset) {
891+
oData[method][year].push(newoffset)
891892
} else {
892893
let eMsg = log_error(SECT4, METRIC +"_"+ method, zErrType + typeof offset)
893894
oErrors[method] = eMsg +" ["+ offset +"]"

0 commit comments

Comments
 (0)