We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation on Temporal.TimeZone says:
This method is similar to timeZone.getOffsetNanosecondsFor(), but returns the offset formatted as a string, with sign, hours, and minutes.
However, the polyfill may add seconds: mytz = new Temporal.TimeZone('Europe/Paris'); mytz.getOffsetStringFor('1900-02-01T12:00Z'); // '00:09:21'
mytz = new Temporal.TimeZone('Europe/Paris');
mytz.getOffsetStringFor('1900-02-01T12:00Z'); // '00:09:21'
It should probably round to the nearest minute before computing the string (to be specified).
The text was updated successfully, but these errors were encountered:
Fix getOffsetStringFor docs for sub-minute offsets
5c328bb
Fixes #2673
684f60d
Successfully merging a pull request may close this issue.
The documentation on Temporal.TimeZone says:
However, the polyfill may add seconds:
mytz = new Temporal.TimeZone('Europe/Paris');
mytz.getOffsetStringFor('1900-02-01T12:00Z'); // '00:09:21'
It should probably round to the nearest minute before computing the string (to be specified).
The text was updated successfully, but these errors were encountered: