diff options
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 |
commit | b11444bf1ef1c111c39c7e898f08014f18e1139a (patch) | |
tree | 73dacdbb4c5595995d5436ca1e48b1843ccd66fd /src/content/dependencies | |
parent | c1a2e63ba92e87002e5afaece21d5b11b07fd4f4 (diff) |
content: transformContent: [[date]] use toUTCString
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/transformContent.js | 2 |
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': { |