[ 
http://jira.dspace.org/jira/browse/DS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Taylor updated DS-610:
----------------------------

    Attachment: Check_granularity_before_returning_DCDate_as_a_Date_.patch

Patch attached for DCDate. Created against trunk.

> SyndicationFeed expects dc.date.issued to be available as a java.util.Date
> --------------------------------------------------------------------------
>
>                 Key: DS-610
>                 URL: http://jira.dspace.org/jira/browse/DS-610
>             Project: DSpace 1.x
>          Issue Type: Bug
>    Affects Versions: 1.6.0, 1.6.1
>            Reporter: Robin Taylor
>            Assignee: Robin Taylor
>         Attachments: 
> Check_granularity_before_returning_DCDate_as_a_Date_.patch
>
>
> SyndicationFeed calls DCDate.toDate() which returns a java.util.Date. This is 
> only currently possible because DCDate stores all dates as java.util.Date 
> even if they were only entered as year or year+month. On the assumption that 
> we fix DCDate what do we do about SyndicationFeed ? I am guessing this date 
> ultimately appears as a 'published date' in an RSS feed. Either it should use 
> default values for month and day if not available, or it should ignore 
> incomplete dates. I think the latter is safer. Any thoughts ? 

-- 
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

        

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to