summaryrefslogtreecommitdiffstats
path: root/VegaData/wwwroot/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'VegaData/wwwroot/index.js')
-rw-r--r--VegaData/wwwroot/index.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/VegaData/wwwroot/index.js b/VegaData/wwwroot/index.js
index df78dad..9821053 100644
--- a/VegaData/wwwroot/index.js
+++ b/VegaData/wwwroot/index.js
@@ -22,8 +22,7 @@ renderShowsBtn.addEventListener("click", () => {
});
function dateString(date, small = false) {
- console.log(date);
-
+ date = date + "+00:00";
if (small) {
return Temporal.Instant.from(date).toZonedDateTimeISO(tzId).toPlainDateTime().toLocaleString("nb-NO", {
weekday: "long",
@@ -98,5 +97,5 @@ async function renderShows(query) {
ulShows.replaceChildren(...lis);
}
-renderShows()
+renderShows();