summaryrefslogtreecommitdiff
path: root/_layouts
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
parentebc280932ec010ecc0fb305650db91f7016dff11 (diff)
Update 4 files
- /assets/css/style.scss - /_layouts/post.html - /_layouts/default.html - /_data/ai-cache.json
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html2
-rw-r--r--_layouts/post.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 7bcd897..0af8aad 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -29,7 +29,7 @@
</script>
{% endif %}
<script>
- var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
+ var lastUpdated = new Date("{{ site.time | date_to_xmlschema }}");
var BlogAPI = "https://summary.mayx.eu.org";
function getSearchJSON(callback) {
var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf()));
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);