Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong translation in datetime interface for Polish language #15031

Closed
piotr-cz opened this issue Aug 11, 2022 · 0 comments · Fixed by #15032
Closed

Wrong translation in datetime interface for Polish language #15031

piotr-cz opened this issue Aug 11, 2022 · 0 comments · Fixed by #15032
Labels

Comments

@piotr-cz
Copy link
Contributor

Describe the Bug

Polish translation uses GG (Era) instead of HH (hour) format:

date-fns_time_24hour: 'GG:mm:ss'
date-fns_time_no_seconds_24hour: 'GG:mm'

Reference: date-fns.org docs > format

In affect the date 2022-06-07 12:00:00

is shown as 7 czerwca 2022 n.e.:00
isteaf of 7 czerwca 2022 12:00

To Reproduce

  1. Create new collection News with datetime type and Datetime interface
  2. Change Default language to Polish (Poland)
  3. Create new item in News collection, pick new value for datetime
  4. See formatted value

Errors Shown

No response

What version of Directus are you using?

v9.15.1

What version of Node.js are you using?

16.16.0

What database are you using?

MySQL 5.7.32

What browser are you using?

Chrome

How are you deploying Directus?

locally

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants