diff --git a/.github/workflows/generate-doc.yml b/.github/workflows/generate-doc.yml index 8c6dc23..cf91850 100644 --- a/.github/workflows/generate-doc.yml +++ b/.github/workflows/generate-doc.yml @@ -20,7 +20,7 @@ jobs: run: npm run script:docs-desc - name: Commit docs-desc - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "📃 docs(description): generate description by chatGPT" diff --git a/scripts/generate-doc-last-modified.ts b/scripts/generate-doc-last-modified.ts index 58a0f22..13fdee9 100644 --- a/scripts/generate-doc-last-modified.ts +++ b/scripts/generate-doc-last-modified.ts @@ -25,7 +25,7 @@ import { flattenAllDocs, insertOrUpdateFrontmatterKey } from "./list-all-docs"; console.log( `[generate-doc-last-modified]: ${doc.title} -> ${frontmatterKey}: ${doc.lastModified} ${new Date( Number(doc.lastModified) * 1000, - ).toLocaleString("zh-CN")}`, + ).toUTCString()}`, ); }); // console.log("[generate-doc-last-modification]: \n", docsWithLastModification);