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

Clarify strict inequality in getTimeZoneTransition() #3098

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

leftmostcat
Copy link
Contributor

While strict inequality of t and epochNanoseconds can be surmised from behavior (without it, someDateTime.getTimeZoneTransition("previous") == someDateTime.getTimeZoneTransition("previous").getTimeZoneTransition("previous")), I think this is a little clearer at a quick glance.

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.05%. Comparing base (726becd) to head (45986c6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3098   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files          21       21           
  Lines        9951     9951           
  Branches     1802     1802           
=======================================
  Hits         9558     9558           
  Misses        346      346           
  Partials       47       47           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

Agreed, thanks for the wording improvement!

@ptomato ptomato merged commit 9999373 into tc39:main Mar 1, 2025
10 checks passed
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.

2 participants