[
http://jira.dspace.org/jira/browse/DS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart Lewis updated DS-469:
----------------------------
Affects Version/s: 1.6.0
Fix Version/s: (was: 1.6.1)
1.7
Applied to 1_6_x branch
> DCDate.displayDate(false,*) displays only year
> ----------------------------------------------
>
> Key: DS-469
> URL: http://jira.dspace.org/jira/browse/DS-469
> Project: DSpace 1.x
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.0
> Reporter: Mark Wood
> Assignee: Mark Wood
> Priority: Trivial
> Fix For: 1.7
>
> Attachments: DCDate.patch
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> While investigating another bug I wanted to see what DCDate makes of a
> particular date string, and noticed a couple of peculiar results. If
> granularity is TIME but time is not requested, the logic falls through to a
> catch-all case that formats only the year (since TIME != DAY and TIME !=
> MONTH).
> The patch overturns the chain of 'if's, picking out YEAR and MONTH explicitly
> so that both DAY and TIME will fall into the catch-all 'else' and be
> formatted with DAY granularity.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel