DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37094>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37094 Summary: I18nTransformer add support for ISO8601 Product: Cocoon 2 Version: Current SVN 2.1 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] 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. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
