From b3f7fc10eed9a897891b71eebef3f4ea51c6ad8b Mon Sep 17 00:00:00 2001 From: nkoexe Date: Wed, 6 Nov 2024 11:56:36 +0100 Subject: [PATCH] force 24h clock in display --- sostituzioni/view/static/scripts/display/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sostituzioni/view/static/scripts/display/ui.js b/sostituzioni/view/static/scripts/display/ui.js index 17623d9..17c3317 100644 --- a/sostituzioni/view/static/scripts/display/ui.js +++ b/sostituzioni/view/static/scripts/display/ui.js @@ -13,7 +13,7 @@ const userLocale = // struttura: { unixtimestamp: func } let tasks = {} -const options_ora = { 'hour': '2-digit', 'minute': '2-digit', 'second': '2-digit' } +const options_ora = { 'hour': '2-digit', 'minute': '2-digit', 'second': '2-digit', 'hourCycle': 'h23' } const options_giorno = { 'day': '2-digit' } const options_data = { 'month': 'long', 'year': 'numeric' }