platform icon indicating copy to clipboard operation
platform copied to clipboard

DateTime localization display order is not applicable in Asian languages

Open l3nemy opened this issue 7 months ago • 6 comments

Currently, the DatePresenter does not respect the correct syntactical ordering for Asian languages. While Western locales often use DD/MM/YYYY or MM/DD/YYYY, languages such as Korean, Japanese, and Chinese follow a strict Year-Month-Day (YYYY/MM/DD or YYYY年 MM月 DD日) hierarchy. Forcing a Western display order onto these locales causes user confusion and poor UX.

l3nemy avatar Apr 16 '26 15:04 l3nemy

Connected to Huly®: UBERF-16319

huly-github-staging avatar Apr 16 '26 15:04 huly-github-staging

Hi, I’d like to work on this issue. Can I take this?

Learnobug avatar Apr 18 '26 10:04 Learnobug

Sure, go ahead! FYI, I'm currently working on the Korean translations. Looking forward to seeing your PR

l3nemy avatar Apr 18 '26 12:04 l3nemy

@l3nemy Thank you for assigning me issue Raised a PR https://github.com/hcengineering/platform/pull/10781

Learnobug avatar Apr 18 '26 13:04 Learnobug

Date presenters now format dates with Intl.DateTimeFormat for the active locale instead of a fixed day-month-year order, so Korean, Japanese and Chinese locales show year-month-day as expected. This was implemented in #10781, which also covers the date range presenter. This looks resolved, so the issue could be closed.

MichaelUray avatar Oct 17 '26 21:10 MichaelUray

@l3nemy — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.

MichaelUray avatar Oct 20 '26 20:10 MichaelUray