Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/timeStamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, "/");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions public/last-updated.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"lastUpdated": "2025/08/17"
}
"lastUpdated": "01/23/2026"
}
2 changes: 1 addition & 1 deletion src/components/nav/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function Footer() {
>
Icons
</a>
<div>© 2025 Julkar Reedoy (jreed)</div>
<div>© 2026 Julkar Reedoy (jreed)</div>
<div>
Last updated:{" "}
{lastUpdated || (
Expand Down