[ 
https://jira.duraspace.org/browse/DS-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Taylor updated DS-763:
----------------------------

    Status: Open  (was: Received)

Hi Keiji,

Thanks for the testing and the patch. It got me thinking, is it just and 
English language convention to truncate month names to 3 characters? Should we 
be doing something more sophisticated to allow for other languages ? Anyone out 
there want to comment ?

Cheers, Robin. 

> StringIndexOutOfBoundsException occurred in DCDate.java
> -------------------------------------------------------
>
>                 Key: DS-763
>                 URL: https://jira.duraspace.org/browse/DS-763
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.0
>            Reporter: Keiji Suzuki
>         Attachments: DSDate.java.patch
>
>
> The following exception has occurred in 1.7.0 RC1 because the length of some 
> Japanese manth's name is two. Attached patch will fix this.
> java.lang.StringIndexOutOfBoundsException: String index out of range: 3
>       at java.lang.String.substring(String.java:1934)
>       at org.dspace.content.DCDate.displayUTCDate(DCDate.java:518)
>       at org.dspace.content.DCDate.displayDate(DCDate.java:487)
>       at org.dspace.app.webui.util.UIUtil.displayDate(UIUtil.java:249)
>       at 
> org.dspace.app.webui.jsptag.BrowseListTag.doStartTag(BrowseListTag.java:483)
> (snip)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to