mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-11 08:23:58 -05:00
[PR #1260] [CLOSED] add datedelta #1125
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1260
Author: @SaketJNU
Created: 3/18/2019
Status: ❌ Closed
Base:
master← Head:datadelta📝 Commits (1)
8a36e48add datedelta📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
README.md(+2 -1)📄 Description
What is this Python project?
This project deals with simple arithmetic operations on date and time based on Gregorian calendar.
Describe features.
What's the difference between this Python project and similar ones?
There are two date arithmetic traps in the Gregorian calendar:
(1) Leap years. Problems arise when adding years to a February 29th gives a result in a non-leap year.
(2)Variable number of days in months. Problems arise when adding months to a 29th, 30th or 31st gives a result in a month where that day doesn't exist.
In both cases, the result must be changed to the first day of the next month.
Enumerate comparisons.
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.