V67.x - command hugo -D set wrong date for directory /public

I am just testing the basics of Hugo under WIN10 and hence I am a little puzzled since the command hugo -D always creates the directory /public with a phantasy date: 31.08.1754:

Windows explorer can´t show this wrong date and leave the field empty by consequence:
(Sorry, as a newby, I may not add more than one image in a post) :slightly_frowning_face:

After some moments a “self-healing” process corrects this phenomeneon and replaces the wrong date by the correct one.

Is there anything I can change in the settings to behave Hugo correctly? :thinking:

1 Like

I was using Windows 10 and could see this problem.
This is a recent bug. Bug reported:

I updated the information. This happens regardless of Windows.

Thank you or どうもありがとう for having verified my observation. :slightly_smiling_face:

With the latest rel. V0.68.0 the bug has been fixed.

This was a long-standing bug:

I have a workaround in Windows (update public timestamp).

Git Bash etc. (This is also valid for various other OS)

touch public


sp public LastWriteTime $(Get-Date)