From dbf20ccd1dd69d57018d5d5b3016c6339a68bae7 Mon Sep 17 00:00:00 2001 From: gunmack Date: Fri, 23 Jan 2026 00:12:20 -0800 Subject: [PATCH 1/2] updated footer --- src/components/nav/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/nav/footer.js b/src/components/nav/footer.js index 25afb05..5bb8a3e 100644 --- a/src/components/nav/footer.js +++ b/src/components/nav/footer.js @@ -71,7 +71,7 @@ export default function Footer() { > Icons -
© 2025 Julkar Reedoy (jreed)
+
© 2026 Julkar Reedoy (jreed)
Last updated:{" "} {lastUpdated || ( From fb3f5ecde6a4df2d85eb500747247795e4209613 Mon Sep 17 00:00:00 2001 From: gunmack Date: Fri, 23 Jan 2026 18:42:18 -0800 Subject: [PATCH 2/2] fixed timestamp (final) --- lib/timeStamp.js | 5 ++--- package.json | 2 +- public/last-updated.json | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/timeStamp.js b/lib/timeStamp.js index da07919..5f6c6d9 100644 --- a/lib/timeStamp.js +++ b/lib/timeStamp.js @@ -20,10 +20,9 @@ function getLastUpdated(dir) { } }); } - + const location = "America/Vancouver"; scanDirectory(dir); - return new Date(latestTimestamp) - .toISOString() + return new Date(latestTimestamp).toLocaleString('en-US',{timeZone: location, year: 'numeric', month: '2-digit', day: '2-digit'}) .split("T")[0] .replace(/-/g, "/"); } diff --git a/package.json b/package.json index dc30e4a..236ab17 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "node lib/timeStamp.js && next build", "clean": "next build --clean", "start": "next start", "lint": "next lint", diff --git a/public/last-updated.json b/public/last-updated.json index 54c132b..4806e45 100644 --- a/public/last-updated.json +++ b/public/last-updated.json @@ -1,3 +1,3 @@ { - "lastUpdated": "2025/08/17" -} + "lastUpdated": "01/23/2026" +} \ No newline at end of file