Skip to content

temporal-polyfill@1.0.8

Latest

Choose a tag to compare

@arshaw arshaw released this 04 Nov 22:06
· 14 commits to main since this release

🐛 Bugfixes

  • FIX: Time zone changes before 1847 are found, such as Asia/Manila on 1844-12-31, which also corrects hoursInDay and toZonedDateTime around them (#126, #114). Thx @gesposito
  • FIX: getTimeZoneTransition('previous') finds the right transition from far-future dates, whatever today's date is (#125, #113). Thx @gesposito

⚡ Performance

  • ZonedDateTime construction and conversion are faster, as time zone lookups are now cached by raw ID (#115). Thx @gesposito
  • Internal caches now start over at 10,000 entries, limiting their memory use