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

[SVCS-259] Sends correct date modified in to fangorn after upload #215

Merged

Conversation

Johnetordoff
Copy link
Contributor

Purpose

Currently metadata sent back in a response to fangorn after an upload reflects the date modified coming from the file system, not the actual revision metadata from osfstorage.

Changes

Updates metadata to return correct info in the response.

Side Effects

None that I know of.

Tickets/ Related PRs

https://openscience.atlassian.net/browse/SVCS-259
CenterForOpenScience/osf.io#7155

@@ -159,6 +159,7 @@ def upload_response():
'checkout': None,
'md5': 'abcdabcdabcdabcdabcdabcdabcd',
'sha256': '123123123123123123',
'modified': '4-28-2017',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be more correct for this to be a ISO-8601 date, with time and timezone information?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisseto Was looking at your comment on PR7155, will modified be correct? You seemed to be saying it won't be.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NM, I see what you did.

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.

3 participants