Comments (4)
Do people usually do that testing from Node or in the browser? It seems like something that needs to be provided by the engine host environment rather than from within the script itself so that it would also affect Date
(and anything else, like native modules) and not just the new API.
from proposal-temporal.
I make heavy use of NodaTime's IClock
interface in my .NET code. It isn't exactly proper 'time forward' testing where the entire environment is rolled forward, but it can still be used to test paths around leap year and DST transitions - which I find quite useful.
from proposal-temporal.
It seems problematic to introduce such a feature without heavy host integration. E.g. what is its impact on setTimeout, event.timeStamp, etc. I'd suggest leaving it out of this proposal; it has enough weight to be a large proposal in its own, and if done properly will require stakeholders outside TC39.
from proposal-temporal.
Can we close this as unwanted? Especially in light of the debate in #73 ?
from proposal-temporal.
Related Issues (20)
- Polyfill: Temporal.PlainDate.from treats "eraYear" as "year" for calendars without eras
- UnbalanceDateDurationRelative: Return Date Duration Record but callers expect integer
- Add24HourDaysToNormalizedTimeDuration: Called with wrong argument order
- Temporal.Duration.prototype.{round,total}: Unnecessary call to CreateTemporalDate HOT 1
- Temporal.Duration.prototype.round: Unnecessary check for IsCalendarUnit(smallestUnit) HOT 2
- DifferencePlainDateTimeWithRounding: Called with Temporal.PlainDate instead of separate arguments for year-month-day HOT 1
- Consistent argument order for "timeZoneRec" and "calendarRec" HOT 1
- DifferencePlainDateTimeWithRounding + DifferenceZonedDateTimeWithRounding: Align argument order for "resolvedOptions" HOT 1
- DifferenceZonedDateTimeWithRounding: precalculatedPlainDateTime can be undefined HOT 1
- Temporal.Duration.prototype.total: Unnecessary assertion for roundRecord.[[Total]] not being UNSET HOT 1
- Temporal.Duration.prototype.{round,total}: Is CreateTemporalDuration really fallible when creating from balanced valid Duration?
- NudgeToCalendarUnit: CreateTemporalDate is fallible HOT 5
- NudgeToZonedTime: Bad named character reference for "≠"
- NudgeToZonedTime: Incorrect assertion for user-defined time zones or calendars HOT 1
- NudgeToDayOrTime: "remainder" not converted to Normalized Time Duration Record
- BubbleRelativeDuration: Wrong operator for loop condition HOT 1
- AddDate: CreateTemporalDate is fallible
- does `ZonedDateTime.from` with `offset: reject` always throw when the datetime is in a DST transition gap? if so, is that intended?
- NudgeToCalendarUnit: Wrong roundedSign for (roundedUnit - total == 0)? HOT 1
- NudgeToDayOrTime: Incorrect assertion in step 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proposal-temporal.