decaporg / decap-cms

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

fix: datetime parsing display value when format not provided #7181

Closed demshy closed 2 months ago

demshy commented 2 months ago

Summary This is a quick patch for a problem where the date is not displayed in the CMS after being saved. It happens when format and input format are not set in the CMS. This should patch up the problem for now, but we should think about a thorough review of how the widget should work

Test plan

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)