Committed a switch to enable hardcoded format for fr and de alongside #6323. But we need to do better.
Right now, in static readonly:
fr:date uses oxf.xforms.format.output.dateTime
[M]/[D]/[Y] [h]:[m]:[s] [P,*-2]
5631 / #5490
fr:time uses
fr:component-param-value('output-format')
or property('xxf:format.input.time'
good!
PDF templates use resources print/format/dateTime etc.
en: [MNn] [D], [Y] [H01]:[m01]:[s01]
fr: Le [D] [Mn] [Y] à [H01]:[m01]:[s01]
de: [D].[M].[Y] [H01]:[m01]:[s01]
Excel Named Ranges uses
en: yyyy-mm-dd hh:mm:ss
fr/de: dd.mm.yyyy hh:mm:ss
It might be an improvement to use oxf.xforms.format.output.dateTime, etc. rather than the hardcoded formats, especially since the case of fr/de we know that at least one user is configuring oxf.xforms.format.output.dateTime as well already. That is not different by language, however.
Committed a switch to enable hardcoded format for
fr
andde
alongside #6323. But we need to do better.Right now, in static readonly:
fr:date
usesoxf.xforms.format.output.dateTime
[M]/[D]/[Y] [h]:[m]:[s] [P,*-2]
5631 / #5490
fr:time
usesfr:component-param-value('output-format')
property('xxf:format.input.time'
print/format/dateTime
etc.en
:[MNn] [D], [Y] [H01]:[m01]:[s01]
fr
:Le [D] [Mn] [Y] à [H01]:[m01]:[s01]
de
: [D].[M].[Y] [H01]:[m01]:[s01]en
:yyyy-mm-dd hh:mm:ss
fr
/de
:dd.mm.yyyy hh:mm:ss
It might be an improvement to use
oxf.xforms.format.output.dateTime
, etc. rather than the hardcoded formats, especially since the case offr
/de
we know that at least one user is configuringoxf.xforms.format.output.dateTime
as well already. That is not different by language, however.