Cookbook example of locked-down Temporal object
@ptomato is already working on this.
Since Feb 13, 2021.
Assessment
This issue has not been assessed yet.
Description
Follow up from #240, we need a cookbook example that does this:
Create an object that supports exactly the same interface as
Temporaland is indistinguishable from it (even though side-door means such asFunction.prototype.toString) except that it provides no mechanism by which code could use it to determine that the host environment is not executing within a date, time, time zone, and tzdata edition under the control of the creator, without costing the creator any capabilities provided by the nativeTemporal. This has use for secure environments like SES, but also for purely functional environments like Elm (cf. #103) and for testing.
This is probably best done after support for custom time zones and calendars are added to the polyfill.
- Dominant language
- HTML
- Stars
- 3.7k
- Forks
- 177
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tc39/proposal-temporal
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
tc39/proposal-temporal#3330 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
tc39/proposal-temporal#3329 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
tc39/proposal-temporal#3328 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
tc39/proposal-temporal#3327 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
tc39/proposal-temporal#3324 ·