From 56630f391acfba55c4401d966f3aed0edb4eca9c Mon Sep 17 00:00:00 2001 From: Izzy <360964+izzy@users.noreply.github.com> Date: Wed, 20 Apr 2022 21:28:48 +0200 Subject: [PATCH] Fixed timestamp locale not being read properly. Fixes #10 --- chat.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat.html b/chat.html index e87a61f..3e4120e 100644 --- a/chat.html +++ b/chat.html @@ -257,8 +257,8 @@ timestamp = is_true(url.searchParams.get("timestamp")); } - if (url.searchParams.get("timestamp-locale") !== null) { - timestamp_locale = url.searchParams.get("timestamp-locale"); + if (url.searchParams.get("timestamp_locale") !== null) { + timestamp_locale = url.searchParams.get("timestamp_locale"); } return {