mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Use custom Date format instead of ISO
This commit is contained in:
2
index.js
2
index.js
@@ -80,7 +80,7 @@ import { sources } from "./common/modules/constants.js";
|
||||
<div class="right">
|
||||
<div class="text">
|
||||
<p class="title">${source.name}</p>
|
||||
<p class="subtitle">Last updated: ${lastUpdated.toISOString().split("T")[0]}</p>
|
||||
<p class="subtitle">Last updated: ${formatVersionDate(lastUpdated)}</p>
|
||||
</div>
|
||||
<div class="app-count">
|
||||
${appCount}
|
||||
|
||||
@@ -246,6 +246,6 @@ main((json) => {
|
||||
sourceIcon.src = json.iconURL ?? altSourceIcon;
|
||||
sourceTitle.innerText = json.name;
|
||||
sourceContainer.href = `../?source=${sourceURL}`;
|
||||
sourceSubtitle.innerText = `Last updated: ${lastUpdated.toISOString().split("T")[0]}`;
|
||||
sourceSubtitle.innerText = `Last updated: ${formatVersionDate(lastUpdated)}`;
|
||||
sourceAppCount.innerText = appCount;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user