logseq-plugin-git icon indicating copy to clipboard operation
logseq-plugin-git copied to clipboard

[bug] The time of git auto-commit is wrong

Open Lovely-Ruby opened this issue 1 year ago • 0 comments

The time of git auto-commit is wrong. I am in East 8 zone, and the time carried by auto-commit is always 8 hours late. I found that the method used is return defaultMessage + " " + new Date().toISOString();, and changing it to new Date().toLocaleString() can temporarily solve this problem

Remember to restart Logseq after changing the code to take effect

Image Image

Lovely-Ruby avatar Feb 17 '25 11:02 Lovely-Ruby