Project

General

Profile

Date/Time presentation

Added by Meindert Oldenburger almost 10 years ago

In DVR tab all sub-tabs showing the date/time in English format. Has this to do with the configuration of my client? (Chromium or Firefox)


Replies (1)

RE: Date/Time presentation - Added by Prof Yaffle almost 10 years ago

The time is rendered using the toLocaleString method, so it should render in your browser's preferred format.

http://www.w3schools.com/jsref/jsref_tolocalestring.asp

This covers the date (e.g. dd/mm/yyyy) and time (e.g. HH:MM:SS) elements. The day of the week is then inserted in front, so that would be wrong if your locale puts the day somewhere else, although it's not trivial to change it as JavaScript doesn't have a default way to include the day name from what I could see.

    (1-1/1)