index.ts
This file
Path
examples/datekit/src/index.ts
28 lines · 742 bytes · TypeScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 678c8b8 point at it.
Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 1–28why, one step back1/**2 * datekit: small, dependency-free date helpers. Dates are plain `Date`3 * instants; datekit reads and shows them in UTC unless you name a time zone.4 */5export {6 addDays,7 addHours,8 addMilliseconds,9 addMinutes,10 addMonths,11 addSeconds,12 addWeeks,13 addYears,14} from "./add.ts";15export { daysInMonth, daysInYear, isLeapYear } from "./calendar.ts";16export {17 diffInCalendarDays,18 diffInCalendarMonths,19 diffInDays,20 diffInHours,21 diffInMilliseconds,22 diffInMinutes,23 diffInSeconds,24 diffInWeeks,25} from "./diff.ts";26export { format, ordinal, type FormatOptions } from "./format.ts";27export { invalidDate, isValid, parseISO } from "./parse.ts";28export { isTimeZone, offsetIn, type ZonedParts, zonedParts } from "./tz.ts";