summary refs log tree commit diff
path: root/_layouts/post.html
diff options
context:
space:
mode:
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);