-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Simplify calculation of time duration in AdjustRounded...Days
As pointed out by Anba, in this call to RoundDuration the years...days parameters are not used within RoundDuration because unit is less than days. They are returned unchanged and discarded, so we may as well not pass them in. This change isn't observable by userland code. Closes: #2617
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters