Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #19210 -- Handling of leap years in django.utils.timesince
django.utils.timesince used to ignore leap years which lead to big inaccuracies as soon as you used it on big time spans. This is the most simple fix for this bug, as explained in the ticket.
- Loading branch information
Showing
3 changed files
with
13 additions
and
0 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
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