1.6.0-rc1 - Difference in date rendering on preview and in client

Asked by Matthew Holder

When looking at the region preview, which includes a data variable, I see the following:

16/02/2014

when looking at the same on the python client, I see Sunday 16 February 2014

What format does the date take when substituted? Is it format of the PC's clock? Should it be set to something like “%d/%m/%Y”, maybe even allow the user to set if they want different to the default?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

It uses the browser locale string so it's correct world wide

Revision history for this message
Alex Harrington (alexharrington) said :
#2

Ultimately there will be a clock module that will be configurable. This is
a short term fix and is as it is.

Revision history for this message
Matthew Holder (matt-mattmole) said :
#3

Thanks Alex Harrington, that solved my question.