mirror of
https://github.com/GenShibe/website.git
synced 2025-02-12 13:44:49 +00:00
use locale for last updated
This commit is contained in:
parent
2a339ddbc8
commit
183de98295
1 changed files with 1 additions and 1 deletions
2
build.js
2
build.js
|
@ -3,6 +3,6 @@ const fs = require("fs");
|
||||||
let file = fs.readFileSync("index.html", "utf-8");
|
let file = fs.readFileSync("index.html", "utf-8");
|
||||||
file = file.replace(
|
file = file.replace(
|
||||||
'<span class="last-updated"></span>',
|
'<span class="last-updated"></span>',
|
||||||
new Date().toUTCString(),
|
new Date().toString(),
|
||||||
);
|
);
|
||||||
fs.writeFileSync("index.html", file);
|
fs.writeFileSync("index.html", file);
|
||||||
|
|
Loading…
Add table
Reference in a new issue