decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.66k stars 3.02k forks source link

refactor: datetime to support custom date and time formats #7091

Closed martinjagodic closed 3 months ago

martinjagodic commented 5 months ago

Solves the problem with time_format in datetime widget described in #7090

Adds back support for picker_utc described in #7132

martinjagodic commented 4 months ago

@demshy fixtures would have to be recorded as base64 blobs change because default datetime format changed.

privatemaker commented 4 months ago

In trying to specify the format: and date_format: values with Day.js Format values as per the Docs, by my understanding this means Day.js has two formats:

However, none of those formatting values change the date display from what is described in #7090

02 / 14 / 2024, 05:20 PM

It would be good to update the Docs with these two differences of formats once this Day.js feature is fixed.