feat(ses): add toTemporalInstant method to DatePrototype permits#3105
feat(ses): add toTemporalInstant method to DatePrototype permits#3105jordan-enev wants to merge 1 commit intoendojs:masterfrom
toTemporalInstant method to DatePrototype permits#3105Conversation
|
erights
left a comment
There was a problem hiding this comment.
Hi @jordan-enev , thanks for the PR. We just discussed it internally and decided we do not want to add toTemporalInstant to permits.js before we add the rest of safe Temporal(*). We do expect to add all of safe Temporal, but it'll take attention we don't currently have at the moment.
(*) We hope and expect that "safe Temporal" is "all of Temporal except Temporal.Now".
I'm requesting changes rather than closing in case there's more to discuss. If not, feel free to either close this, or make it a PR that also adds all of allegedly safe Temporal to permits.js. Then, this PR would become the natural place to discuss what safe Temporal is, and to approve it. Just be prepared for that approval to be delayed until we have (ahem) time.
Thanks!
Description
Add
toTemporalInstantmethod to DatePrototype permits. This method has been included in the latest browser APIs.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toTemporalInstant
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations
Compatibility Considerations
Upgrade Considerations