Skip to content

Date & time

Helpers around Luxon DateTime for locale-aware formatting and time-of-day classifications such as day periods, seasons, moon phases and zodiac signs.

All formatters honour the user's locale via DateTime.toLocaleString and the classification helpers expose narrow string-literal return types you can use in your own type unions.

Formatting

Periods

Calendar & nature

Predicates

  • isToday — checks whether a DateTime refers to the same calendar day as a reference.