-
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
[Jupiter] Display graduation date in "Fall 2017" format #1003
Comments
The original requirements on the deposit form will remain unchanged - consider this as a new requirement, for public interface. |
jupiter/app/views/items/_thesis.html.erb Line 40 in e797c4f
jupiter/app/helpers/items_helper.rb Lines 24 to 40 in e797c4f
Here's how the deposit side is mapped to 'Spring' 'Fall' jupiter/app/models/draft_thesis.rb Lines 5 to 12 in e797c4f
jupiter/app/models/draft_thesis.rb Lines 48 to 49 in e797c4f
jupiter/app/models/draft_thesis.rb Lines 160 to 164 in e797c4f
|
With agreement from FGSR and Leah, we'd like to display the graduation date field for theses in the "Fall 2016" format rather than the current "2016-11" format. The underlying data will still use "2016-11", so it won't be changed. The edit form for theses also does not need to change (since it is only used by admin users). The change applies only to search results and full item displays. OAI is out of scope.
The graduation_date field is normalized to YYYY-MM, with MM = 06 or 11. This should map to "Spring YYYY" when the MM is 06, and "Fall YYYY" when the MM is 11. Fall back to just YYYY for any other value of MM or when MM is absent.
Related to #798. Weiwei has reviewed email discussion of that issue at the time to clarify some of the history.
The text was updated successfully, but these errors were encountered: