Does DurationFormat handle negative durations? #4976
Unanswered
kartva
asked this question in
Duration Formatter
Replies: 1 comment
-
Yes, it supports negative durations. The spec should work with them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The TC39 ECMAScript standard for DurationFormat, section 1.1.14.4.f.iii.3 seems to have some logic regarding negative numbers in the duration fields. I tried tracing the formatting logic through the standards, but I'm having trouble understanding whether the sign is ignored or not.
@younies @sffc
Beta Was this translation helpful? Give feedback.
All reactions