Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Temporal.PlainTime#since should handle ceil/floor properly
https://bugs.webkit.org/show_bug.cgi?id=241623 Reviewed by Yusuke Suzuki. This patch adds a spec step that our implementation was missing: DifferenceTemporalPlainTime ( operation, temporalTime, other, options ) ... 9. If operation is ~since~, then a. Set roundingMode to ! NegateTemporalRoundingMode(roundingMode). * JSTests/test262/expectations.yaml: Mark four test cases as passing. * Source/JavaScriptCore/runtime/TemporalPlainTime.cpp: (JSC::TemporalPlainTime::since const): Canonical link: https://commits.webkit.org/251555@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information