From 26650299ee7855a2308b2fda07c969c8fdcd54c2 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 1 Dec 2024 16:27:46 +0000 Subject: [PATCH] Fix asterisks on opening times --- .gitignore | 1 + scripts/opening_times.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cfca00d..7a905cd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ _site node_modules result +package.json diff --git a/scripts/opening_times.js b/scripts/opening_times.js index efd4497..81813e7 100644 --- a/scripts/opening_times.js +++ b/scripts/opening_times.js @@ -46,7 +46,7 @@ async function updateOpeningTimes() { .text() .trim(); if (date && time) { - times.push(`*${date}:* ${time}`); + times.push(`${date}: ${time}`); } }); } else { @@ -64,7 +64,7 @@ async function updateOpeningTimes() { if (line) { const parts = line.split(":"); if (parts.length > 1) { - times.push(`*${parts[0].trim()}:* ${parts.slice(1).join(":").trim()}`); + times.push(`${parts[0].trim()}: ${parts.slice(1).join(":").trim()}`); } else { times.push(line); }