forked from nyancrimew/maia.crimew.gay
display pub/update time where applicable
parent
dbf8925c2f
commit
8ceeaf9599
|
@ -44,6 +44,13 @@ module.exports = function (eleventyConfig) {
|
|||
const month = formatPart({ month: "short" }, date);
|
||||
const day = formatPart({ day: "numeric" }, date);
|
||||
const year = formatPart({ year: "numeric" }, date);
|
||||
const hours = date.getUTCHours();
|
||||
const minutes = date.getUTCMinutes();
|
||||
|
||||
if (hours != 0 && minutes != 0) {
|
||||
|
||||
return `${month} ${day}, ${year} - ${hours}:${minutes} UTC`;
|
||||
}
|
||||
|
||||
return `${month} ${day}, ${year}`;
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "#FuckStalkerware pt. 2 - SpyHide couldnt hide forever"
|
||||
date: 2023-07-24
|
||||
date_changed: 2023-07-24
|
||||
date: 2023-07-24T18:17:00+2
|
||||
changed_date: 2023-07-24T22:12:00+2
|
||||
description: "and once again it was way too easy"
|
||||
feature_image: /img/posts/fuckstalkerware-2/cover.jpg
|
||||
feature_alt: "a glitchy edited screenshot of the SpyHide dashboard"
|
||||
|
|
Loading…
Reference in New Issue