[ http://issues.apache.org/jira/browse/COCOON-1648?page=all ]
Jean-Baptiste Quenot reassigned COCOON-1648: -------------------------------------------- Assign To: Jean-Baptiste Quenot (was: Cocoon Developers Team) > I18nTransformer add support for ISO8601 > --------------------------------------- > > Key: COCOON-1648 > URL: http://issues.apache.org/jira/browse/COCOON-1648 > Project: Cocoon > Type: Improvement > Components: * Cocoon Core > Versions: 2.1.8 > Environment: Operating System: other > Platform: Other > Reporter: Jean-Baptiste Quenot > Assignee: Jean-Baptiste Quenot > Priority: Minor > Attachments: cocoon-i18n-patch, w3c-date.tar.gz, w3c-date.tar.gz > > See http://www.w3.org/TR/NOTE-datetime for details about ISO 8601 > The main idea of ISO 8601 is to have a variable date format, with variable > granularity. Currently I18nTransformer only supports date formats with a > fixed > pattern. > I propose to add in Cocoon two classes from W3C's Jigsaw. DateFormatUtils > from > Jakarta Commons cannot be used because only the formatting part is > implemented. > See > http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/time/DateFormatUtils.html > A patch against I18nTransformer is also provided: when encountering <i18n:date > src-pattern="iso8601"> the special date parser is invoked. Actually this > patch > only provides the parsing part, not the ISO 8601 formatting part. Because > I18nTransformer is intended for presenting a view to the end-user, it is > rarely > needed to present an ISO-8601-formatted date. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira