spencermountain/spacetime
 Watch   
 Star   
 Fork   
9 days ago
spacetime

7.16.0

7.16.0 [Oct 2026]

  • [change] deprecated but exposed .d date now is in UTC - users can do s.toNativeDate()
  • [change] - use UTC date methods internally to reduce bias of local computer
  • [fix] - correct Chatham and NZ-CHAT transitions to 03:45 and 02:45
  • [fix] - apply Lord Howe's half-hour DST shift to the Australia/LHI alias
  • [fix] - hemispheres for 42 zones
  • [fix] - preserve fractional timezone offsets, support UTC±14, and reject malformed offsets
  • [fix] - point the North Dakota shortcut to Central time and resolve nested timezone city names
  • [change] - reject malformed clock fields in date strings #450
  • [change] - parse two-digit years including 12/30/19 12:22:08 PM #179
  • [change] - support {silent: false} for #451
  • [fix] - midnight and noon issue in .hour12('12am') and .hour12('12pm')
  • [fix] - preserve day-first parsing (dmy) through cloning, arithmetic, and chained setters
  • [fix] - decade and century arithmetic, clamping leap days to the target year
  • [update] - dependencies
21 days ago
spacetime

7.15.0

  • [fix] - stale dst offsets #470 (thanks Sudarshan!)
  • [fix] - update dst dates for nuuk, indiana, kentucky, scoresbysund, nuuk, troll, and north dakota
  • [change] - compromised support for casablanca's 4-change year
  • [change] - compromised support for permanent dst in edmonton, vancouver, yellowknife
  • [change] - fixes to zonefile parser
  • [update] - dependencies
29 days ago
spacetime

7.14.0

  • [new] - support JavaScript's Date.toString() fmt as input #465
  • [change] - clamp maximum .hour() to 0-23 #467
  • [update] - edmonton and yellowknife DST hour
  • [update] - dependencies
2026-06-23 20:37:45
spacetime

7.13.0

  • [fix] - typescript config issue
  • [fix] - leap-year issue #461
  • [update] - Chisinau + Vancouver dst hour
  • [new] - static LLM docs
  • [update] - dependencies
2026-05-28 05:23:58
spacetime

7.12.1

  • [fix] - regression for today param in object format
  • [update] - github actions scripts for proper release CI
  • [change] - add npm ignore-scripts=true
  • [update] - dependencies
2025-12-10 21:27:36
spacetime

7.12.0

  • [update] - update zonefile to 2026 DST dates
  • [update] - update dependencies
2025-09-30 00:52:58
spacetime

7.11.0

  • [fix] - millennium API typo (w/ backward compat)
  • [update] - update CICD script
  • [update] - Update Kazakhstan timezones to UTC+5
  • [update] - add Coyhaique iana code
  • [update] - nuuk and scoresbysund dst changes
  • [update] - dependencies
2025-04-19 03:03:01
spacetime

7.10.0

  • [fix] - capitalization of "Etc/Utc" #446
  • [new] - .isoFull() method
  • [new] - spacetime.fromEpochSeconds() method #444
  • [fix] - getter form of .epochSeconds()
  • [update] - dependencies
2025-04-06 01:14:57
spacetime

7.9.0

  • [new] - .format('sql') #437
  • [new] - .epochSeconds() #439
  • [fix] - duplicate type for .json() #435
  • [update] - plugin peerdepencies #440
  • [update] - dependencies
2025-03-08 00:51:56
spacetime

7.8.0

  • [fix] - 2025 DST-change times for many zones #431
  • [fix] - more .week() issues from #303
  • [new] - initial support for Temporal's extended-iso RFC3339 fmt
  • [new] - adds .format('iso-full') for Temporal support
  • [new] - support hot-swap timezone via .timezone(tz) #180
  • [new] - add tz/offset info in .json() response
  • [new] - support .json(obj) setter fn
  • [fix] - proper capitalization of UTC in .timezone() response
  • [fix] - typescript fixes #432
  • [update] - dependencies