Chg: pnpm 11.1.3 / Del: helpコマンドとmiqコマンドを除く全てのi18n / Feat: 朝四時に何してるんだい?

This commit is contained in:
2026-05-21 22:22:45 +09:00
parent b2ff3e481a
commit 6fc5ab9d0d
10 changed files with 161 additions and 223 deletions
+1 -5
View File
@@ -1,15 +1,11 @@
import { createUeuse } from "@/lib/client";
import initI18n from "@/lib/i18n";
import { format } from "date-fns";
import i18next from "i18next";
await initI18n();
console.log("新年迎春の投稿を行います");
try {
await createUeuse({
text: i18next.t("hnyNotice", { year: String(new Date().getFullYear()) }),
text: `あけましておめでとうございます。今年は、${new Date().getFullYear()}年です。`,
}, "新年迎春");
console.log("新年迎春投稿時刻:", format(new Date(), "yyyy/M/d H:mm:ss:SSS"));