MCPcopy
hub / github.com/date-fns/date-fns / withDSTStart

Function withDSTStart

pkgs/tz/src/date/tests.ts:2362–2364  ·  view source on GitHub ↗
(tz: string, fn: (date: TZDate) => void)

Source from the content-addressed store, hash-verified

2360});
2361
2362function withDSTStart(tz: string, fn: (date: TZDate) => void) {
2363 fn(new TZDate(2020, 2, 8, tz));
2364}
2365
2366function utcStr(date: TZDate) {
2367 return new Date(+date).toISOString();

Callers 1

tests.tsFile · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected