From: SourceForge.net <no...@so...> - 2012-03-23 07:00:16
|
Bugs item #3510401, was opened at 2012-03-23 00:00 Message generated for change (Tracker Item Submitted) made by eriksiegel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3510401&group_id=17691 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Erik Siegel (eriksiegel) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong interpretation of xslt:format-dateTime parameter Initial Comment: Since eXist 1.5 there is a module xslt that should emulate the build-in XSLT functions. However, I get strange results on the format-dateTime (see the attached files): XQuery: declare namespace xslt="http://www.w3.org/1999/XSL/Transform"; xslt:format-dateTime(xs:dateTime('2012-02-22T10:04:40.875+01:00'), '[D01]-[M01]-[Y] [H01]:[m01]:[s01]') Gives me: [2201]-[201]-[12] [1001]:[401]:[4001] XSLT: format-dateTime(xs:dateTime('2012-02-22T10:04:40.875+01:00'), '[D01]-[M01]-[Y] [H01]:[m01]:[s01]') Gives me the expected: 22-02-2012 10:04:40 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3510401&group_id=17691 |