payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
29.26k stars 1.81k forks source link

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

Open hackerart opened 5 months ago

hackerart commented 5 months 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 5 months 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