You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a silly suggestion, but when writing about Temporal, I find myself wishing that I could assign a fixed “now”, system time zone, and preferred calendar.
Use case: Show in (unit-tested) examples how Temporal.now.instant() etc., work.
(Feel free to close this issue immediately if this is beyond the scope of the API.)
The text was updated successfully, but these errors were encountered:
This is not a silly suggestion at all; we intend to have exactly such an example. This is being done in the pull request #1367 although I deprioritized it relative to actually getting the proposal to stage 3, and haven't had time to pick it back up again. It won't work as-is, it will need reworking to fit the changes that we made to get to stage 3; but the clock part I think should work unchanged.
Will close this, but we can continue any discussion in #603.
This may be a silly suggestion, but when writing about
Temporal
, I find myself wishing that I could assign a fixed “now”, system time zone, and preferred calendar.Use case: Show in (unit-tested) examples how
Temporal.now.instant()
etc., work.(Feel free to close this issue immediately if this is beyond the scope of the API.)
The text was updated successfully, but these errors were encountered: