mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 02:53: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="right">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p class="title">${source.name}</p>
|
<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>
|
||||||
<div class="app-count">
|
<div class="app-count">
|
||||||
${appCount}
|
${appCount}
|
||||||
|
|||||||
@@ -246,6 +246,6 @@ main((json) => {
|
|||||||
sourceIcon.src = json.iconURL ?? altSourceIcon;
|
sourceIcon.src = json.iconURL ?? altSourceIcon;
|
||||||
sourceTitle.innerText = json.name;
|
sourceTitle.innerText = json.name;
|
||||||
sourceContainer.href = `../?source=${sourceURL}`;
|
sourceContainer.href = `../?source=${sourceURL}`;
|
||||||
sourceSubtitle.innerText = `Last updated: ${lastUpdated.toISOString().split("T")[0]}`;
|
sourceSubtitle.innerText = `Last updated: ${formatVersionDate(lastUpdated)}`;
|
||||||
sourceAppCount.innerText = appCount;
|
sourceAppCount.innerText = appCount;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user