MCPcopy
hub / github.com/iamkun/dayjs / index.js

File index.js

src/plugin/utc/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { MILLISECONDS_A_MINUTE, MIN } from '../../constant'
2
3const REGEX_VALID_OFFSET_FORMAT = /[+-]\d\d(?::?\d\d)?/g
4const REGEX_OFFSET_HOURS_MINUTES_FORMAT = /([+-]|\d\d)/g

Callers

nothing calls this directly

Calls 13

dayjsFunction · 0.85
uFunction · 0.85
toDateMethod · 0.80
$utilsMethod · 0.80
utcMethod · 0.80
localMethod · 0.80
offsetFromStringFunction · 0.70
addMethod · 0.65
utcOffsetMethod · 0.65
cloneMethod · 0.65
toISOStringMethod · 0.65
formatMethod · 0.65

Tested by

no test coverage detected