LogoLogo
ForumCodeDonate
  • Introduction
    • About
    • Release / Change Log
  • Installation
    • Requirements
    • Tuners
    • Linux
    • Virtualisation - Proxmox
    • Docker
    • NAS
    • Android
  • SETUP
    • Stages
    • Concepts
    • Muxes/Scan Files
      • Scan Files
      • Using w_scan Scan Files
  • CONFIGURATION
    • Concepts
    • Electronic Program Guide
    • Digital Video Recorder
    • Web User Interface Customisation
      • Theme
      • Date/Time Format
  • HTTPS access via Reverse Proxy
  • APPENDICES
    • FAQ
    • CLI Commands
    • Debugging
  • Development
    • Compiling
      • Compiling TVH with VAAPI Support
        • for Lubuntu 24.04
        • for Lubuntu 22.04
        • Level 2
    • HTSP
      • General
      • HTSMSG Binary Format
      • Communication
      • Client to Server (RPC) methods
      • Server to Client methods
      • Protocol Changes
      • HTTP Proxy Examples
    • JSON API
      • API Description
        • Common Parameters
        • Access
        • Bouquet
        • Caclient
        • Channel
        • Codec
        • Config
        • DVR
        • EPG
        • EPGgrab
        • ESfilter
        • idnode
        • Input
        • intlconv/charsets
        • Language
        • MPEGts
        • Profile
        • RatingLabel
        • Raw
        • Satip
        • Service
        • Status
        • Timeshift
        • Tvhlog
      • Examples
      • Other Functions
      • WebSocket
    • Object Class Relationships
    • Testing Tuners Using Files
    • Translations
    • Programmers Translation Workflow
    • XMLTV
      • Input
        • Recognised Tags/Attributes
        • Episode Numbering
      • Output
    • Object ID Representation
    • WebUI Help Content Workflow
    • Random Notes
  • Creating a Mux Dump
  • WIP
    • Release / Change Log Mockup
Powered by GitBook

© Tvheadend 2006-2024

On this page

Was this helpful?

Export as PDF
  1. CONFIGURATION
  2. Web User Interface Customisation

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 Code
Description

%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.

PreviousThemeNextHTTPS access via Reverse Proxy

Last updated 7 months ago

Was this helpful?

Logotvheadend/src/webui/static/app/tvheadend.js at 9ac57a0c1a4551012260008cfca6bfc2386f6dcf · tvheadend/tvheadendGitHub
Source code reference