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

Function utcStr

pkgs/tz/src/date/tests.ts:2366–2368  ·  view source on GitHub ↗
(date: TZDate)

Source from the content-addressed store, hash-verified

2364}
2365
2366function utcStr(date: TZDate) {
2367 return new Date(+date).toISOString();
2368}
2369
2370const laName = "America/Los_Angeles";
2371const nyName = "America/New_York";

Callers 1

tests.tsFile · 0.85

Calls 1

toISOStringMethod · 0.80

Tested by

no test coverage detected