# 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:** 1

<div class="post-metadata">

### Author: ![inquisitorOzzak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/inquisitorozzak/32/511422_2.png) [@inquisitorOzzak](https://meta.discourse.org/u/inquisitorOzzak)
#### Post date: [September 29, 2025, 3:51pm UTC](https://meta.discourse.org/t/localization-formatting-error-in-the-date-function/384283/1 "2025-09-29T15:51:41Z")

</div>

Hello guys,

I’m working on a Croatian language Localization for a small tech forum.  
And I found an error in the formatting of the %{date} function.

Here’s the print screen:

 ![Screenshot from 2025-09-29 17-30-10](https://global.discourse-cdn.com/meta/original/4X/d/d/d/ddd231bbf5a3f02c7c664c290ebb2d26da37d7bd.png)

as you can see the year is displayed as “252025”.  
it looks to me like:

- %e %b., **`%y%Y`** %H:%M

where it should be:

- %e %b., **`%Y`** %H:%M

ie. the year is inserted twice

The error shown above is on these js localization variables:

- `js.topic.created_at`

- `js.topic.bumped_at`

sooo…  
Is there a way to fix this on my side (control panel or server side)?  
Or is it a deeper problem in the source code?  
Any advice is appreciated.

Thanks in advance. 🙂  
Regards,  
Ozzak

ps.  
And let me know if you need any more info on the problem.

---

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