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

First commits has wrong dates #1

Open
bheisig opened this issue Jan 14, 2018 · 1 comment
Open

First commits has wrong dates #1

bheisig opened this issue Jan 14, 2018 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@bheisig
Copy link
Member

bheisig commented Jan 14, 2018

The Grundgesetz was first announced on 1949-05-23. But as you may notice the first commit dates are not older than 1970-01-01. Commit dates are based on the Unix time which starts at that date. The Unix time is defined as a number of seconds. Git (and GitHub, too) has a limitation that only positive numbers of seconds is parsed correctly. For a Unix time before 1970-01-01 we need negative numbers of seconds to be allowed.

tl;dr: We are currently unable to fix some commit dates due to technical limitations.

@bheisig bheisig added bug Something isn't working wontfix This will not be worked on labels Jan 14, 2018
@floscher
Copy link

floscher commented Feb 5, 2024

By now it is only a GitHub problem, since git now supports pre-1970 dates as well as dates in the far future (see Legilibre/Archeo-Lex#47). The web viewer of the French legislature project shows commits from 1803: git blame view of the French "Code Civil"

For pushing to a git remote, the settings of that remote repository need to be adapted (see c3e/grundgesetz-dev#28).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants