# Xml pubdates changed to \`01 Jan 0001\` when moving from 0.124.1 to 0.126.0

**URL:** <https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474>\
**Category:** support\
**Created:** [June 28, 2024, 6:08pm UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474 "2024-06-28T18:08:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradcray](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bradcray/32/21659_2.png) [@bradcray](https://discourse.gohugo.io/u/bradcray)\
**Post date:** [June 28, 2024, 6:08pm UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/1 "2024-06-28T18:08:24Z")

</div>

Hello Hugo Community —

I recently updated from Hugo 1.24.1 to 0.126.0 and then 0.128.0. Rebuilding our website after either of the updates, I’m seeing some diffs in the `index.xml` files for our authors, tags, and series directories in which the pubdates have reset to `01 Jan 0001`. This seems like it could be innocuous, but I’m unsure, so wanted to ask:

- What role do the pubdates in these files play? Does it matter if they’re set to this bogus date?
- Is there a best practice to have current dates in those files? I think that, at present, we’re only manually maintaining dates in the posts themselves (which seemed unaffected by the upgrade), not in any of the author/tags/series files.
- Is it clear/expected why upgrading between those versions would have caused this change?

Thanks for any tips or reassurance here. And thanks also for hugo, which has been a great tool for us!

-Brad

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [June 28, 2024, 9:17pm UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/2 "2024-06-28T21:17:32Z")

</div>

See this open issue:  
[https://github.com/gohugoio/hugo/issues/12438](https://github.com/gohugoio/hugo/issues/12438)

And what you can do about it now:  
[https://github.com/gohugoio/hugo/issues/12438#issuecomment-2112995866](https://github.com/gohugoio/hugo/issues/12438#issuecomment-2112995866)

---

<div class="post-metadata">

**Author:** ![bradcray](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bradcray/32/21659_2.png) [@bradcray](https://discourse.gohugo.io/u/bradcray)\
**Post date:** [July 3, 2024, 11:57pm UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/3 "2024-07-03T23:57:12Z")

</div>

@jmooring : Thanks for the quick and authoritative reply, which I’d failed to see until now!

-Brad

---

<div class="post-metadata">

**Author:** ![CyrusYip](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cyrusyip/32/20786_2.png) [@CyrusYip](https://discourse.gohugo.io/u/CyrusYip)\
**Post date:** [July 4, 2024, 1:19am UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/4 "2024-07-04T01:19:58Z")

</div>

This problem was fixed in v0.128.1 .

> **[Release v0.128.1 · gohugoio/hugo](https://github.com/gohugoio/hugo/releases/tag/v0.128.1)**
>
> What's Changed
> 
> Fix it so publishDate rolls up to section, taxonomy, or term pages 7b6dafc @bep #12438
> create/skeletons: Fix languageCode region subtag a95fe50 @CyrusYip
> Update README.md 932ab4c @j...

---

<div class="post-metadata">

**Author:** ![bradcray](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bradcray/32/21659_2.png) [@bradcray](https://discourse.gohugo.io/u/bradcray)\
**Post date:** [July 4, 2024, 1:34am UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/5 "2024-07-04T01:34:31Z")

</div>

@CyrusYip : Awesome, thanks for letting me know! I’ve just upgraded via homebrew and am seeing the problem resolved.

-Brad

---

<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:** [July 6, 2024, 1:35am UTC](https://discourse.gohugo.io/t/xml-pubdates-changed-to-01-jan-0001-when-moving-from-0-124-1-to-0-126-0/50474/6 "2024-07-06T01:35:16Z")

</div>

Closed on July 6, 2024, 1:35am UTC

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