MCPcopy Index your code
hub / github.com/csev/py4e / getDateOffset

Function getDateOffset

code/gmane/Chart.bundle.js:3133–3137  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

3131 }
3132
3133 function getDateOffset (m) {
3134 // On Firefox.24 Date#getTimezoneOffset returns a floating point.
3135 // https://github.com/moment/moment/pull/1871
3136 return -Math.round(m._d.getTimezoneOffset() / 15) * 15;
3137 }
3138
3139 // HOOKS
3140

Callers 2

getSetOffsetFunction · 0.85
setOffsetToLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected