decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

refactor: datetime to support custom date and time formats

Open martinjagodic opened this issue 2 years ago • 2 comments

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

martinjagodic avatar Feb 06 '24 12:02 martinjagodic

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

martinjagodic avatar Feb 07 '24 09:02 martinjagodic

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:

  • Normal Formats YYYY-MM-DD
  • Localized Formats LL

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.

privatemaker avatar Feb 08 '24 09:02 privatemaker