temporal_js 0.0.2 copy "temporal_js: ^0.0.2" to clipboard
temporal_js: ^0.0.2 copied to clipboard

Platformweb

TC39 Temporal date/time API for Dart, backed by the JS Temporal API via dart:js_interop. Lightweight, immutable date and time types for Dart web apps.

0.0.2 #

Published as a standalone package on pub.dev. Web apps that want to depend directly on the browser-backed Temporal implementation (without going through the umbrella temporal package) can now add temporal_js explicitly.

0.0.1 #

Initial release with core Temporal types backed by the browser's native JS Temporal API:

  • PlainDate — an ISO 8601 calendar date (year, month, day) with no time or timezone
  • PlainTime — a wall-clock time with no date or timezone
  • PlainDateTime — a combined calendar date and wall-clock time
  • PlainYearMonth — a year and month with no day or timezone
  • PlainMonthDay — a month and day with no year or timezone
  • Instant — an exact UTC point in time
  • ZonedDateTime — an exact moment tied to a specific IANA timezone
  • TemporalDuration — a duration spanning calendar and time units
  • Calendar — a calendar system (ISO 8601, Buddhist, Hebrew, etc.)
  • TimeZone — an IANA timezone identifier
0
likes
140
points
155
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

TC39 Temporal date/time API for Dart, backed by the JS Temporal API via dart:js_interop. Lightweight, immutable date and time types for Dart web apps.

Repository (GitHub)
View/report issues

Topics

#date #time #temporal #datetime #js

License

unknown (license)

Dependencies

meta

More

Packages that depend on temporal_js