# Customize (localize) dates

**URL:** <https://discourse.gohugo.io/t/customize-localize-dates/26010>\
**Category:** support\
**Created:** [June 3, 2020, 8:09am UTC](https://discourse.gohugo.io/t/customize-localize-dates/26010 "2020-06-03T08:09:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sciurius](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sciurius/32/11499_2.png) [@sciurius](https://discourse.gohugo.io/u/sciurius)\
**Post date:** [June 3, 2020, 8:09am UTC](https://discourse.gohugo.io/t/customize-localize-dates/26010/1 "2020-06-03T08:09:47Z")

</div>

Hugo has excellent multi-lingual support. But then, from the docs:

> Customize Dates  
> At the time of this writing, Go does not yet have support for internationalized locales for dates, but if you do some work, you can simulate it.

Pray tell me this was written in the stone ages and no longer true…

---

<div class="post-metadata">

**Author:** ![nfriedli](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nfriedli/32/26027_2.png) [@nfriedli](https://discourse.gohugo.io/u/nfriedli)\
**Post date:** [August 10, 2020, 11:16am UTC](https://discourse.gohugo.io/t/customize-localize-dates/26010/3 "2020-08-10T11:16:04Z")

</div>

You can find a nice solution here:

> [@Dates : only in english?](https://discourse.gohugo.io/t/dates-only-in-english/1317/41):
>
> this is my simple solution for german date format as partial date.html {{ $month\_names := slice "Januar" "Februar" "März" "April" "Mai" "Juni" "Juli" "August" "September" "Oktober" "November" "Dezember" }} {{ $month := sub .Date.Month 1 }} {{ .Date.Day }}. {{ index $month\_names $month }} {{ .Date.Year }}

---

<div class="post-metadata">

**Author:** ![sciurius](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sciurius/32/11499_2.png) [@sciurius](https://discourse.gohugo.io/u/sciurius)\
**Post date:** [August 10, 2020, 12:19pm UTC](https://discourse.gohugo.io/t/customize-localize-dates/26010/4 "2020-08-10T12:19:11Z")

</div>

`{{< rant >}}`  
I would hardly call this a ‘nice solution’ for basic functionality that has been part of all major programming environments for the last 50 years.  
`{{< /rant >}}`

---

<div class="post-metadata">

**Author:** ![nfriedli](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nfriedli/32/26027_2.png) [@nfriedli](https://discourse.gohugo.io/u/nfriedli)\
**Post date:** [August 10, 2020, 1:14pm UTC](https://discourse.gohugo.io/t/customize-localize-dates/26010/5 "2020-08-10T13:14:04Z")

</div>

Go is not 50 years old 😉
