# Localization Formatting Error in the %{date} function

**URL:** https://meta.discourse.org/t/localization-formatting-error-in-the-date-function/384283
**Category:** Translations
**Created:** [September 29, 2025, 3:51pm UTC](https://meta.discourse.org/t/localization-formatting-error-in-the-date-function/384283 "2025-09-29T15:51:41Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [September 29, 2025, 4:07pm UTC](https://meta.discourse.org/t/localization-formatting-error-in-the-date-function/384283/3 "2025-09-29T16:07:24Z")

</div>

Welcome to Meta 👋

> [@inquisitorOzzak](#):
>
> Is there a way to fix this on my side (control panel or server side)?

I think the text that doesn’t work as expected is `js.dates.long_with_year`. While the English version is `MMM D, YYYY h:mm a`, the Croatian version is `D MMM, YYY h:mm`, so there is one Y missing. You should be able to customize that on your site like [any other text](https://meta.discourse.org/t/customize-text-in-discourse/36092).

If that fixes the problem, it would be great if you could also improve this text for all forums where users use the Discourse interface in Croatian by improving the [translation on Crowdin](https://meta.discourse.org/t/contributing-translations-to-discourse/14882). (If you struggle with the interface of Crowdin, I’m happy to help. Alternatively, I can suggest the change if you tell me what it should be. You can learn more about the date formats of moment.js [here](https://momentjs.com/docs/#/displaying/format/))

Thank you for improving the translation of Discourse!

---

_[View the full topic](https://meta.discourse.org/t/localization-formatting-error-in-the-date-function/384283)._
