From 8a6ff5a2c15422badf0bc9c8166787dc23a71072 Mon Sep 17 00:00:00 2001
From: Yuval Adam <_@yuv.al>
Date: Mon, 23 Sep 2024 10:29:53 +0200
Subject: Move all geshem/ files to root

---
 geshem/app/components/Datetime.tsx | 28 ----------------------------
 1 file changed, 28 deletions(-)
 delete mode 100644 geshem/app/components/Datetime.tsx

(limited to 'geshem/app/components/Datetime.tsx')

diff --git a/geshem/app/components/Datetime.tsx b/geshem/app/components/Datetime.tsx
deleted file mode 100644
index 0a8fbcf..0000000
--- a/geshem/app/components/Datetime.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from "react";
-import { DateTime as LuxonDateTime } from "luxon";
-
-interface DateTimeProps {
-  images: string[],
-  slider: number
-}
-
-export function DateTime({ images, slider }: DateTimeProps) {
-  let datetime = null;
-
-  if (images.length > 0) {
-    const ds = images[slider].substring(5, 18);
-    datetime = LuxonDateTime.fromFormat(ds, "yyyyMMdd/HHmm", {
-      zone: "utc",
-    }).setZone("Asia/Jerusalem");
-  }
-
-  const date = datetime ? datetime.toFormat("dd/MM/y") : "";
-  const time = datetime ? datetime.toFormat("HH:mm") : "";
-
-  return (
-    <div id="datetime">
-      <div id="date">{date}</div>
-      <div id="time">{time}</div>
-    </div>
-  );
-}
-- 
cgit v1.3.1

