# Relative date format issue

**URL:** <https://meta.discourse.org/t/relative-date-format-issue/323601>\
**Category:** UX\
**Created:** [August 27, 2024, 4:16pm UTC](https://meta.discourse.org/t/relative-date-format-issue/323601 "2024-08-27T16:16:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Rick\_Jing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rick_jing/32/354677_2.png) [@Rick\_Jing](https://meta.discourse.org/u/Rick_Jing)\
**Post date:** [August 27, 2024, 4:16pm UTC](https://meta.discourse.org/t/relative-date-format-issue/323601/1 "2024-08-27T16:16:26Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/5/b/9/5b976237b4e2f00b50eff1e131ce1760a19a2ec3.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/7/6/8769ce67bb2a31e185a17700f340041f47b707e7.png)

The relative date in Chinese language has unnecessary spaces.  
Usually the date format should be **“mm月dd日”** , the current format is **“mm月 dd 日”**.  
I haven’t found any issue with the translation, and also I think the ember helper lead to this issue.

> <https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/formatter.js>

I think function **autoUpdatingRelativeAge** adds the extra spaces.  
I understand this is not an issue for English version discourse, but may cause some format issues for other languages.  
I tried javascript to remove the spaces, but it won’t work with the lazy loading content.  
I’m appreciated to any tips for modifying the ember helper in a plugin or any fix from the main branch.

---

_[View the full topic](https://meta.discourse.org/t/relative-date-format-issue/323601)._
