# International date format?

**URL:** <https://talk.jekyllrb.com/t/international-date-format/6948>\
**Category:** Help\
**Created:** [January 31, 2022, 7:28pm UTC](https://talk.jekyllrb.com/t/international-date-format/6948 "2022-01-31T19:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leris](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/leris/32/4276_2.png) [@Leris](https://talk.jekyllrb.com/u/Leris)\
**Post date:** [January 31, 2022, 7:28pm UTC](https://talk.jekyllrb.com/t/international-date-format/6948/1 "2022-01-31T19:28:43Z")

</div>

Hello, I am following the official Jekyll introduction and stumbled across this snippet here:

```auto
{{ page.date | date_to_string }}

```

Now this will print an English name of month like " 23 May 2021", but I would like it in German " 23 Mai 2021" or at least in numbers " 23.05.2021". How can I configure that?

Thanks!

edit: Found some answers from early 2017 here:

> <https://stackoverflow.com/questions/42754394/date-to-string-in-a-different-language>

Not sure if this is still the most recommended way to go?

edit: At least I can use numbers now thanks to this page:

> **[Jekyll And Github Pages Liquid Date Formatting Examples](https://www.alanwsmith.com/posts/20emx2csq8do--jekyll-and-github-pages-liquid-date-formatting-examples)**
>
> A post from Alan W. Smith

This page shows lots of examples on how to adjust the date, especially US styles but also ISO 8601 which is just dandy.

At the same time, the documentation of “date” in Liquid templates mentioned strftime and linked to this nice interactive page to test and render your output as desired:

Hope it helps you, too!

---

<div class="post-metadata">

**Author:** ![BillRaymond](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/billraymond/32/5963_2.png) [@BillRaymond](https://talk.jekyllrb.com/u/BillRaymond)\
**Post date:** [February 1, 2022, 6:04pm UTC](https://talk.jekyllrb.com/t/international-date-format/6948/3 "2022-02-01T18:04:02Z")

</div>

Unfortunately, I do not know a lot about setting a default locale (and then using it) in Jekyll. It looks like there are lots of workarounds to this problem and that might still be the case, unfortunately. check out the link below.

> [@Locale specific date liquid code](https://talk.jekyllrb.com/t/locale-specific-date-liquid-code/5351/7):
>
> If you want to keep the month heading and day under as before but just use to locale month, then you could do this. Setup includes file to be month. No year. No day. \_includes/locale-date.html {% assign m = page.date | date: “%-m” %} {% case m %} {% when ‘1’ %}Januar {% when ‘2’ %}Februar {% when ‘3’ %}März {% when ‘4’ %}April {% when ‘5’ %}Mai {% when ‘6’ %}Juni {% when ‘7’ %}Juli {% when ‘8’ %}August {% when ‘9’ %}September {% when ‘10’ %}Oktober {% when ‘11’ %}November {% when ‘12’ %}Dezem…
