about summary refs log tree commit diff stats
path: root/src/App.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.svelte')
-rw-r--r--src/App.svelte14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/App.svelte b/src/App.svelte
index 4cc445f..502f465 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -28,20 +28,6 @@
   }, 10000); // 10 seconds
   $: currentEzTime = formatUtc(date);
 
-  function formatWeathers(weathers) {
-    if (weathers.length === 1) {
-      return ew.getWeatherName(weathers[0]);
-    }
-    return weathers
-      .map((w, i) => {
-        if (i + 1 === weathers.length) {
-          return `and ${ew.getWeatherName(w)}`;
-        }
-        return `${ew.getWeatherName(w)}, `;
-      })
-      .join("");
-  }
-
   function newForecasts() {
     anemosForecast = ew.forecast(ew.ANEMOS_WEATHER, "anemos");
     pagosForecast = ew.forecast(ew.PAGOS_WEATHER, "pagos");