MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/test/Cron.test.ts:204–204  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

202
203 it("prev chooses the later occurrence in DST fall-back", () => {
204 const make = (s: string) => DateTime.makeZonedFromString(s).pipe(Option.getOrThrow)
205 const tz = "Europe/Berlin"
206 const cron = Cron.unsafeParse("0 30 2 * * *", tz)
207 const before = make("2024-10-27T03:30:00.000+01:00[Europe/Berlin]")

Callers 1

Cron.test.tsFile · 0.70

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected