Skip to content

Conversation

@nickburlett
Copy link
Contributor

hackage-mirror attempts to set the uploadTime in a format like "2021-12-11T12:24:35Z", but this fails with parsing using "%c". If the parse fails, try "%Y-%m-%dT%H:%M:%SZ"

Add tests for both setting and retrieving the upload-time.

Fixes #1017

hackage-mirror attempts to set the uploadTime in a format like "2021-12-11T12:24:35Z", but this fails with parsing using "%c". If the parse fails, try "%Y-%m-%dT%H:%M:%SZ"

Add tests for both setting and retrieving the upload-time.
@gbaz gbaz merged commit d179da8 into haskell:master Feb 21, 2022
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.

Server and Client disagree on upload-time format

2 participants