Skip to content

Changelog 1.10

  • The core functions, which every industry uses.

Release notes of @northguild/gmt 1.10.0, newest first, built from packages/gmt/CHANGELOG.md. Back to Changelog.

The @burglekitt organization logo

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-19

  • 227e202: Add intervalCount: intervalCountDate, intervalCountTime, intervalCountDateTime, intervalCountUtc, intervalCountUnix, intervalCountZoned — count how many calendar-unit boundaries the half-open interval [start, end) crosses, distinct from diff*’s exact elapsed duration. An interval from 23:59 to 00:01 is two minutes long but crosses two day boundaries. DST-aware for zoned and unix values, and null on invalid input.
  • 100fa2c: Add intervalFromDuration: intervalFromDurationDate, intervalFromDurationDateTime, intervalFromDurationTime, intervalFromDurationUtc, intervalFromDurationUnix, intervalFromDurationZoned — construct an interval from a single point plus an ISO 8601 duration, anchored at either "start" or "end" (Luxon’s Interval.after/Interval.before as one function with an anchor param). Calendar units resolve against the point itself, no relativeTo needed — except intervalFromDurationTime, which returns null for a duration with a date-unit component, since PlainTime has no calendar to resolve it against. Returns null on invalid input, including a negative duration that inverts the computed span.

Last updated:

© 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.