# Date Format, timezone issues

**URL:** <https://discourse.gohugo.io/t/date-format-timezone-issues/45531>\
**Category:** support\
**Created:** [July 30, 2023, 8:08am UTC](https://discourse.gohugo.io/t/date-format-timezone-issues/45531 "2023-07-30T08:08:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [July 30, 2023, 8:08am UTC](https://discourse.gohugo.io/t/date-format-timezone-issues/45531/1 "2023-07-30T08:08:43Z")

</div>

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

One date will state

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

```

where in front matter is

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

```

The other is

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

```

where in front matter is in same way:

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

```

The format in my file is

```auto
.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.

```auto
timeZone = "Europe/London"

```

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

Is `timeZone` in setting not working correctly?

---

<div class="post-metadata">

**Author:** ![chrillek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/chrillek/32/19797_2.png) [@chrillek](https://discourse.gohugo.io/u/chrillek)\
**Post date:** [July 30, 2023, 8:14am UTC](https://discourse.gohugo.io/t/date-format-timezone-issues/45531/2 "2023-07-30T08:14:27Z")

</div>

Daylight saving time, perhaps?

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [July 30, 2023, 8:19am UTC](https://discourse.gohugo.io/t/date-format-timezone-issues/45531/3 "2023-07-30T08:19:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [August 1, 2023, 8:20am UTC](https://discourse.gohugo.io/t/date-format-timezone-issues/45531/4 "2023-08-01T08:20:08Z")

</div>

Closed on August 1, 2023, 8:20am UTC

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