« get me outta code hell

content: transformContent: [[date]] use toUTCString - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:20:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:20:25 -0300
commitb11444bf1ef1c111c39c7e898f08014f18e1139a (patch)
tree73dacdbb4c5595995d5436ca1e48b1843ccd66fd /src/content
parentc1a2e63ba92e87002e5afaece21d5b11b07fd4f4 (diff)
content: transformContent: [[date]] use toUTCString
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/transformContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index ba66a02e..848727db 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -33,7 +33,7 @@ export const replacerSpec = {
     value: (ref) => new Date(ref),
     html: (date, {html, language}) =>
       html.tag('time',
-        {datetime: date.toString()},
+        {datetime: date.toUTCString()},
         language.formatDate(date)),
   },
   'flash-index': {