MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / getDateOffset

Function getDateOffset

tests/test_code/js/moment/moment.js:3277–3281  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

3275 }
3276
3277 function getDateOffset(m) {
3278 // On Firefox.24 Date#getTimezoneOffset returns a floating point.
3279 // https://github.com/moment/moment/pull/1871
3280 return -Math.round(m._d.getTimezoneOffset());
3281 }
3282
3283 // HOOKS
3284

Callers 2

getSetOffsetFunction · 0.85
setOffsetToLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected