From 1e4963ec2e8b40738cd70e8b8c3479714f9fbcce Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 1 Dec 2021 02:22:11 +0400 Subject: [PATCH] Replaced date formats variable name. --- radio/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/index.js b/radio/index.js index 10b7270..3483ef0 100644 --- a/radio/index.js +++ b/radio/index.js @@ -16,7 +16,7 @@ async function getRadioStatus() { let status = await fetch('http://radio.arav.home.arpa/status-json.xsl').then(r => r.json()); return { server_start_iso8601: status.icestats.server_start_iso8601, - server_start_date: util.datetime(status.icestats.server_start_iso8601, util.post_date_format), + server_start_date: util.datetime(status.icestats.server_start_iso8601, util.date_formats.post_date), song: `${status.icestats.source.artist} - ${status.icestats.source.title}`, listener_peak: status.icestats.source.listener_peak, listeners: status.icestats.source.listeners