Please help with date format

Hi.
In my blog there are a bunch of posts with the same date format which displayed correctly. But when I add a new file with the same date format Hugo sets 0001-01-01. I use Ctrl-c, Ctrl-v (previous functional post), rename, edit.
It started after I → updated → downgraded Hugo.
Currently on 0.52. Installed via choco on Windows 10 Home.
Please advise me where should I look for clues. Posts placed inside individual folders /content/post/individual_folder/index.md

P.S. O_O The cause of that error was a different dash char. ‑ instead of -.

print(ord(‘‑’)) # 8209
print(ord(‘-’)) # 45

Thx.

You can define, where the dates com from

1 Like