Date Format, timezone issues

Hi,
Working on my website I noticed that some Dates are reported incorrectly.

One date will state

Fri, 11 Feb 2022 14:10:00 +0000

where in front matter is

date: "2022-02-11T14:10:00"

The other is

Fri, 07 Jul 2023 09:58:00 +0100

where in front matter is in same way:

date: "2023-07-07T09:58:00"

The format in my file is

.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700"

Like you will notice, I expecting to report timezone above but in my front matter I am not specifying time zone, but I am doing that in hugo.toml file.

timeZone = "Europe/London"

But, for unknon reason some dates are reported as +0100 others as +0000.

Is timeZone in setting not working correctly?

Daylight saving time, perhaps?

1 Like

Silly me, that would make sense.

When changed to Africa/Abidjan where they not using DST, only GMT all are reported as +0000.

Thank you.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.