Fix invalid timestamp of the "public" folder
authorAnthony Fok <foka@debian.org>
Sat, 29 May 2021 03:35:48 +0000 (21:35 -0600)
committerAnthony Fok <foka@debian.org>
Fri, 4 Jun 2021 20:50:30 +0000 (14:50 -0600)
commit26ae12c0c64b847d24bde60d7d710ea2efcb40d4
treeff5c4cd9eeb2c79e988c385c389c834b94b6a5df
parentee733085b7f5d3f2aef1667901ab6ecb8041d699
Fix invalid timestamp of the "public" folder

Special thanks to both Richard Mortimer (@oldelvet) and
Joshua M. Clulow (@jclulow) for their analysis and suggested fix:

 * https://github.com/gohugoio/hugo/issues/6161#issuecomment-574336088
 * https://github.com/gohugoio/hugo/issues/6161#issuecomment-596805273

Fixes #6161
hugofs/fileinfo.go