[xwiki-users] Date format in FAQ application
Hi, again. How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' . TIA, R.
Setting the Date Format in Administration / Localization doesn't have any effect? On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach <ryszard.lach@unity.pl> wrote:
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nope. I've set it to 'yyyy-MM-dd hh:m:ss'. It works in other places (e.g. applications created via AppWithinMinutes) but not in FAQ. R. On 2016-04-25 10:59, Marius Dumitru Florea wrote:
Setting the Date Format in Administration / Localization doesn't have any effect?
On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach <ryszard.lach@unity.pl> wrote:
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
You can refer to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateforma... -- View this message in context: http://xwiki.475771.n2.nabble.com/Date-format-in-FAQ-application-tp7599113p7... Sent from the XWiki- Users mailing list archive at Nabble.com.
I know. But, as I wrote, it does not work for the FAQ application. R. On 2016-04-26 17:04, Jack wrote:
You can refer to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateforma...
-- View this message in context: http://xwiki.475771.n2.nabble.com/Date-format-in-FAQ-application-tp7599113p7... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users .
Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs table. R. On 2016-04-25 11:18, Ryszard Łach wrote:
Nope. I've set it to 'yyyy-MM-dd hh:m:ss'.
It works in other places (e.g. applications created via AppWithinMinutes) but not in FAQ.
R.
On 2016-04-25 10:59, Marius Dumitru Florea wrote:
Setting the Date Format in Administration / Localization doesn't have any effect?
On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach <ryszard.lach@unity.pl> wrote:
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
The right format is probably 'yyyy-MM-dd hh:mm:ss'. with only one 'm' for minute it tries to show minute as single digit when ever possible ... which is just what your got
Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs table.
R.
On 2016-04-25 11:18, Ryszard Łach wrote:
Nope. I've set it to 'yyyy-MM-dd hh:m:ss'.
It works in other places (e.g. applications created via AppWithinMinutes) but not in FAQ.
R.
On 2016-04-25 10:59, Marius Dumitru Florea wrote:
Setting the Date Format in Administration / Localization doesn't have any effect?
On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach <ryszard.lach@unity.pl> wrote:
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R.
For more information on this subject you can refer to http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html Op 6-5-2016 om 11:02 schreef Clemens Klein-Robbenhaar:
The right format is probably 'yyyy-MM-dd hh:mm:ss'.
with only one 'm' for minute it tries to show minute as single digit when ever possible ... which is just what your got
Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs table.
R.
On 2016-04-25 11:18, Ryszard Łach wrote:
Nope. I've set it to 'yyyy-MM-dd hh:m:ss'.
It works in other places (e.g. applications created via AppWithinMinutes) but not in FAQ.
R.
On 2016-04-25 10:59, Marius Dumitru Florea wrote:
Setting the Date Format in Administration / Localization doesn't have any effect?
On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach <ryszard.lach@unity.pl> wrote:
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R.
users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Clemens Klein-Robbenhaar -
Jack -
Jan-Paul Kleijn -
Marius Dumitru Florea -
Ryszard Łach