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

Set last modified date to current day (in local tz) #109

Closed
wants to merge 1 commit into from

Conversation

thbeu
Copy link
Contributor

@thbeu thbeu commented Mar 9, 2024

Avoid dummy date 1995-06-27 when creating DBF.

PR uses the re-entrant variant of localtime if available.

@rouault
Copy link
Member

rouault commented Mar 9, 2024

I'm moderately enthusiastic about that. For reproducibility reasons, it is good to have a fixed date. That way a fixed set of input data produces a binary identical shapefile. Perhaps make the behaviour of setting an up to date date opt-in through a function?

@thbeu
Copy link
Contributor Author

thbeu commented Mar 9, 2024

OK, no need to have it merged. There already is an opt-in by modifying the date afterwards via DBFSetLastModifiedDate.

@thbeu thbeu closed this Mar 9, 2024
@thbeu thbeu deleted the no-dummy-date branch March 9, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants