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

Function hasAlignedHourOffset

tests/test_code/js/moment/moment.js:3388–3395  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

3386 }
3387
3388 function hasAlignedHourOffset(input) {
3389 if (!this.isValid()) {
3390 return false;
3391 }
3392 input = input ? createLocal(input).utcOffset() : 0;
3393
3394 return (this.utcOffset() - input) % 60 === 0;
3395 }
3396
3397 function isDaylightSavingTime() {
3398 return (

Callers

nothing calls this directly

Calls 1

createLocalFunction · 0.85

Tested by

no test coverage detected