From b11444bf1ef1c111c39c7e898f08014f18e1139a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 8 Aug 2023 21:20:25 -0300 Subject: content: transformContent: [[date]] use toUTCString --- src/content/dependencies/transformContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': { -- cgit 1.3.0-6-gf8a5