Date/Time Format

The date and time are shown in many places within the Web User Interface. In most places, the format used is based on the default setting of your Browser and Operating System.

If, for example, the date/time format in your 'Upcoming Recordings' looks something like, 'Fri, 02/08/2024 14:05:00' and you wish to shorten it to something like 'Fri, 02-Aug 14:05', you can do the following:

In the WebUI, navigate to Configuration -> General -> Base.

Ensure that your 'Default view level' is set to at least 'Advanced'.

In the 'Web Interface Settings' panel, the 'Custom date Format' field can be used to override the default date/time format by adding:

%ddd, %dd-%MMM %hh:%mm

Reload your bowser window for this change to be applied.

The following is a list of available formatting code options:

Format CodeDescription

%d

Day without zero padding. eg: 1 or 31

%dd

Day with zero padding. eg: 01 or 31

%ddd

Language-specific abbreviated day name. eg: 'Wed' or 'Mi'.

%dddd

Language-specific full day name. eg: 'Wednesday' or 'Mittwoch'.

%M

Month without zero padding. eg: 1 or 12

%MM

Month with zero padding. eg: 01 or 12

%MMM

Language-specific abbreviated month name. eg: 'Dec' or 'déc.'.

%MMMM

Language-specific full month name. eg: 'December' or 'décembre'.

%yy

Two-digit year without the century. eg: 02 or 97.

%yyyy

Four-digit year with the century. eg: 2002 or 1997

%h

Hour without zero padding, eg: 1 or 23. (Always 24 hour clock)

%hh

Hour without zero padding, 12 hour clock. eg: 01 or 23. (Always 24 hour clock)

%m

Minute without zero padding. eg: 1 or 59.

%mm

Minute with zero padding. eg: 01 or 59.

%s

Seconds without zero padding. eg: 1 or 59.

%ss

Seconds with zero padding. eg: 01 or 59.

Last updated

© Tvheadend 2006-2024