Changelog 1.7
Release notes of @northguild/gmt 1.7.0, newest first, built from packages/gmt/CHANGELOG.md. Back to Changelog.
@burglekitt/gmt
Section titled “@burglekitt/gmt”
In memoriam: @burglekitt. These releases were published under the retired @burglekitt npm scope. The package continues as @northguild/gmt from 1.14.2; install @northguild/gmt.
Released 2026-08-09
Minor Changes
Section titled “Minor Changes”-
d0577c7: Adds
isWeekend(plain) andisZonedWeekend(zoned) — locale-aware weekend checks, matching react-aria’s@internationalized/dateisWeekend(date, locale).isWeekend(value, locale)checks an ISOPlainDatestring;isZonedWeekend(value, locale)checks an ISOZonedDateTimestring against its own local calendar day.- Uses
Intl.Locale.prototype.weekInfoto resolve which days count as the weekend for a given locale — e.g.en-US/most locales use Saturday/Sunday, whilehe-IL/ar-SAuse Friday/Saturday. - Falls back to Saturday/Sunday if the runtime can’t resolve
weekInfodata for the locale. - Both return
falsefor invalid input (unparseable date/zoned value, or an invalid locale tag).
This starts Story Group D (locale-aware calendar helpers) of the Luxon/react-aria parity roadmap.
-
e98ad3b: Adds
getLocaleDayOfWeek(plain) andgetLocaleZonedDayOfWeek(zoned) — locale-aware day-of-week index extraction.getLocaleDayOfWeek(value, locale)returns a 0-based index where0= the locale’s first day of week (e.g. Sunday for en-US, Monday for fr-FR, Saturday for he-IL).getLocaleZonedDayOfWeek(value, locale)does the same for zoned ISO datetimes, reading the local calendar day.- Both derive the locale’s first day from
Intl.Locale.prototype.weekInfoand fall back to Monday if unavailable. - Both return
nullfor invalid input (unparseable date/zoned value, or an invalid locale tag). - The formula
(isoDay - firstDay + 7) % 7is the same one used bygetLocaleStartOfWeek/getLocaleZonedStartOfWeek.
Completes Story Group D (locale-aware calendar helpers) of the Luxon/react-aria parity roadmap.
-
d726a33: Adds
getLocaleStartOfWeek/getLocaleEndOfWeek(plain) andgetLocaleZonedStartOfWeek/getLocaleZonedEndOfWeek(zoned) — locale-aware week boundaries, matching react-aria’s@internationalized/datestartOfWeek(date, locale)/endOfWeek(date, locale).- Derives the week’s first day from the locale via
Intl.Locale.prototype.weekInfo(e.g.en-USweeks start Sunday,fr-FRweeks start Monday), instead of the existingstartOfDate/endOfDate/startOfZoned/endOfZoned’s explicit, ISO-biasedweekStartsOnoption. - Falls back to Monday if the runtime can’t resolve
weekInfodata for the locale. - The zoned variants accept the same
disambiguation/offsetoptions asstartOfZoned/endOfZoned, controlling DST gap/overlap resolution when the week-boundary time-of-day reset lands on an ambiguous local time. - All four return
""for invalid input (unparseable date/zoned value, or an invalid locale tag).
Part of Story Group D (locale-aware calendar helpers) of the Luxon/react-aria parity roadmap.
- Derives the week’s first day from the locale via
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.