Hugo 将格式正确的日期显示为“0001 年 1 月 1 日”

Hugo displays what appears to be properly formatted dates as "1 Jan 0001"

我的前面-material看起来像:

---
title: "example"
date: 2017-02-09T19:33:35-8:00
draft: false
---

我的 single.html 显示日期如下:

      Updated: <time datetime="{{ .Date }}">{{ .Date.Format "2 Jan 2006" }}</time>

由于某些原因,当 运行 hugo server 并查看此页面时,日期显示为:

Updated: 1 Jan 0001

令我感到困惑的是,这是 工作的页面的前端内容:

---
title: "working example"
date: 2019-01-08T18:16:47-08:00
draft: false
---

在我看来,这两个示例日期的格式完全相同。

甚至怪人:如果我copy/paste从工作示例,到非工作示例,然后手动换出正确的日期,非工作示例有效!

这是怎么回事? 为什么我的日期显示不正确,除非它们莫名其妙地显示?

编辑:我已尝试 copy/pasting 逐部分查看字符串的某些特定方面是否有问题,但无济于事。只有当我 copy/paste 整个事情,然后手动重新输入日期时,它才有效。更奇怪:如果我 copy/paste 好的格式到 "bad," 然后 copy/paste 日期 从坏到好,它工作。我怀疑可能是一个奇怪的 unicode 字符或其他东西,现在我不知道了。

刚和我自己的网站确认过,

time/date 字符串必须跟在 ISO 8601 format 之后。这包括在小时中有两位数字的时区偏移量。

请注意,偏移量是可选的 - 它不是必须存在的。但如果是,那一定是[+-]HH:MM

# bad
date: 2017-02-09T19:33:35-8:00
# good
date: 2017-02-09T19:33:35-08:00