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

ArchiveOrg test fail upload_date #2355

Closed
ghost opened this issue Feb 9, 2014 · 1 comment
Closed

ArchiveOrg test fail upload_date #2355

ghost opened this issue Feb 9, 2014 · 1 comment
Labels
bug

Comments

@ghost
Copy link

@ghost ghost commented Feb 9, 2014

Upload date is in format 1968-12-10, but in unified_strdate in utils.py re.sub don't work.

re.sub(r' ?(\+|-)[0-9:]*$', '', date_str)

It cuts down day like this 1968-12. Unfortunatelly i'm not good with regex to fix this :(

@jaimeMF jaimeMF added the bug label Feb 9, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Feb 9, 2014

Thanks, fixed.

@phihag phihag closed this in 026fcc0 Feb 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.