Date not showing correctly in spanish
Opened this issue · 2 comments
I have an English/Spanish mutilingual site.
My first posts' date is Date:2024-05-25
The posts are not showing the correct date in Spanish.
(See enero
(january),
while English is showing fine
It is not about the translation of the month. If Date: 2024-02-25
, also enero
is showing.
Any idea how to fix it?
@zunbeltz For me it's working in spanish.
Can you post your hugo.toml file?
What version of hugo are you using? (You can use hugo version
to show your installed version)
Same here.
hugo.toml:
DefaultContentLanguage = "de"
[Params]
dateFormat = "2. Januar 2006"
Then all posts has date from January (Januar). Even with dateFormat = "2. January 2006" all posts has a date in January. So far, this can only be fixed by removing dateFormat. The date is then displayed in a standard format according to the website language.