Skip to content
New issue

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

Fix confusion about Temporal.Time.difference largest unit #593

Merged
merged 1 commit into from
May 20, 2020

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented May 19, 2020

Clear up this language a bit and explain that the default is effectively
hours.

Closes: #580

Clear up this language a bit and explain that the default is effectively
hours.

Closes: #580
@codecov
Copy link

codecov bot commented May 19, 2020

Codecov Report

Merging #593 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #593   +/-   ##
=======================================
  Coverage   97.75%   97.75%           
=======================================
  Files          16       16           
  Lines        3604     3604           
  Branches      607      607           
=======================================
  Hits         3523     3523           
  Misses         79       79           
  Partials        2        2           
Flag Coverage Δ
#test262 54.16% <ø> (ø)
#tests 92.60% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e534d27...f6f9e78. Read the comment docs.

Copy link
Member

@ryzokuken ryzokuken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks.

@ryzokuken ryzokuken merged commit 49d65ac into main May 20, 2020
@ryzokuken ryzokuken deleted the 580-largest-unit branch May 20, 2020 07:16
Copy link
Collaborator

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why is options.largestUnit==='days' in Time.prototype.difference?
3 participants