payloadcms / payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
https://payloadcms.com
MIT License
20.94k stars 1.26k forks source link

Doesn't change time from 12-hour format to 24-hour based on locale. #6758

Open hackerart opened 1 week ago

hackerart commented 1 week ago

Link to reproduction

No response

Describe the Bug

If I change language to Russian it doesn't change time format from 12-hour (AM/PM) to 24-hour based on locale.

To Reproduce

Change language in settings to Russian and look at created at and updated at values.

Payload Version

2.0.0

Adapters and Plugins

No response

hackerart commented 1 week ago

Example on screen #1. As you can see on screen #3 I've changed settings of time picker, but still system uses 12-hour format as default.

1 2 3