-
Notifications
You must be signed in to change notification settings - Fork 10
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
Theses ingest rewrite #1670
Theses ingest rewrite #1670
Conversation
|
||
# Handle rights | ||
unlocked_obj.rights = thesis_data[:license] | ||
|
||
# Additional fields | ||
unlocked_obj.date_accepted = thesis_data[:approved_date].to_date if thesis_date[:approved_date].present? | ||
unlocked_obj.date_submitted = thesis_data[:submitted_date].to_date if thesis_date[:submitted_date].present? | ||
# Assumes the data received for approved_date and submitted_date follow the pattern of "D/M/Y". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the assumption I made
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have access to their spreadsheet? (maybe that format should be captured in the spreadsheet so they always follow this date format)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I do not. The format is currently not captured in the csv but I think it would be a good idea to have it captured somewhere. I'm not completely sure what the process is but I believe we're given the csv from another department so as long as we communicate this to them. @mbarnett do you know who to communicate this date format to in order to ensure it is always followed?
Generated by 🚫 Danger |
07dc4ee
to
e02a9e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#925
#1586