summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-27 17:54:45 +0200
committermayx <mayx@outlook.com>2025-04-27 17:54:45 +0200
commitd0ce029b941fc8dc6de9d32cd8942e6dccdbdfc4 (patch)
tree35fa581ca9ecef876353dddc7f0428c82192daa7 /_layouts/post.html
parentebc280932ec010ecc0fb305650db91f7016dff11 (diff)
Update 4 files
- /assets/css/style.scss - /_layouts/post.html - /_layouts/default.html - /_data/ai-cache.json
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index de38995..a426aad 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -12,7 +12,7 @@ layout: default
<br /><br />
</div>
<script>
- BirthDay = new Date("{{ page.date | date: "%m/%d/%Y" }} 00:00:00");
+ BirthDay = new Date("{{ page.date | date_to_xmlschema }}");
today = new Date();
timeold = (today.getTime() - BirthDay.getTime());
secondsold = Math.floor(timeold / 1000);