1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 15:55:08 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Temporal
davidot c0a3b1467c LibJS: Fix the Now.plainDateTime in case they go over a year boundary
Since years don't have a constant amount of seconds because they can be
leap years no constant will work in all cases. We now test a timezone in
both the positive and negative direction and check that at least one
worked. Assuming years are at least 2 days long this will always pass
at least one test.
2021-12-31 12:26:26 +01:00
..
Calendar LibJS: Only allow Calendar this value in Temporal.Calendar#toJSON 2021-12-19 00:13:01 +00:00
Duration LibJS: Implement Temporal.Duration.prototype.subtract 2021-11-29 22:56:35 +00:00
Instant LibJS: Implement parsing of TemporalInstantString 2021-11-20 23:10:09 +00:00
Now LibJS: Fix the Now.plainDateTime in case they go over a year boundary 2021-12-31 12:26:26 +01:00
PlainDate LibJS: Fix parse ErrorType used in parse_temporal_date_string() 2021-11-24 08:38:50 +00:00
PlainDateTime LibJS: Don't accept UTC designators in strings for plain Temporal types 2021-11-24 08:56:03 +00:00
PlainMonthDay LibJS: Don't accept UTC designators in strings for plain Temporal types 2021-11-24 08:56:03 +00:00
PlainTime LibJS: Require 'T' prefix for ambiguous time-only strings 2021-12-24 00:07:52 +01:00
PlainYearMonth LibJS: Implement Temporal.PlainYearMonth.prototype.since() 2021-11-27 19:11:31 +00:00
TimeZone LibJS: Only allow TimeZone this value in TimeZone#getPlainDateTimeFor 2021-12-19 00:13:01 +00:00
ZonedDateTime LibJS: Fix modulo in get_iso_parts_from_epoch() for negative epoch ns 2021-12-22 11:27:31 +01:00
Temporal.@@toStringTag.js LibJS: Implement Temporal[@@toStringTag] 2021-07-27 18:48:22 +01:00