Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 2.52 KB

File metadata and controls

39 lines (26 loc) · 2.52 KB
layout
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

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
%dDay without zero padding. eg: 1 or 31
%ddDay with zero padding. eg: 01 or 31
%ddd Language-specific abbreviated day name. eg: 'Wed' or 'Mi'.
%ddddLanguage-specific full day name. eg: 'Wednesday' or 'Mittwoch'.
%MMonth without zero padding. eg: 1 or 12
%MMMonth with zero padding. eg: 01 or 12
%MMMLanguage-specific abbreviated month name. eg: 'Dec' or 'déc.'.
%MMMMLanguage-specific full month name. eg: 'December' or 'décembre'.
%yyTwo-digit year without the century. eg: 02 or 97.
%yyyyFour-digit year with the century. eg: 2002 or 1997
%hHour without zero padding, eg: 1 or 23. (Always 24 hour clock)
%hhHour without zero padding, 12 hour clock. eg: 01 or 23. (Always 24 hour clock)
%mMinute without zero padding. eg: 1 or 59.
%mm Minute with zero padding. eg: 01 or 59.
%sSeconds without zero padding. eg: 1 or 59.
%ssSeconds with zero padding. eg: 01 or 59.

{% embed url="https://github.com/tvheadend/tvheadend/blob/9ac57a0c1a4551012260008cfca6bfc2386f6dcf/src/webui/static/app/tvheadend.js#L1390C1-L1429C3" %} Source code reference {% endembed %}