mirror of
https://github.com/JakeStanger/Rofi_MPD.git
synced 2026-07-11 12:14:40 +01:00
[PR #11] [CLOSED] Dates before 1905 cannot be put into a UNIX timestamp #19
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/Rofi_MPD#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/JakeStanger/Rofi_MPD/pull/11
Author: @rubdos
Created: 10/8/2018
Status: ❌ Closed
Base:
master← Head:issue-3📝 Commits (1)
641b878Dates before 1905 cannot be put into a UNIX timestamp📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
main.py(+3 -0)📄 Description
This works around #3. I think it'd be better to get rid of the UNIX timestamp altogether though; it will be clearer. I think it's perfectly possible to sort on raw datetime's.
If you indeed get rid of the epoch, please note that Pythons
datetimeonly goes to year 1 (datetime.MINYEAR), not to year 0, so you'll have to account for that :-)Ruben
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.