gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

More flexibility of date formats in Post Date block

Open getdave opened this issue 5 years ago • 2 comments

What problem does this address?

There are many (non US centric) ways to format a date. The Post Date block locks you into 3 choices.

Screen Shot 2021-09-11 at 22 34 09

What is your proposed solution?

Provide more date options.

Alternatively - for full flexibility - allow user to provide date format using some standard notation such as ~that which PHP uses to format dates~ that which is already in use within Settings -> General under the Date Format section.

getdave avatar Sep 11 '21 21:09 getdave

The date format options seems to be locked into the Site Language setting.

For example switch language from English (United States) to English (UK), and notice the available formats of the Post Date block change to day month year ordering.

So yes I too could see circumstances where a site owner may want to use e.g. English (United States) but have the post dates in another language format.

Sandstromer avatar Sep 13 '21 09:09 Sandstromer

This issue seems to have been resolved in #39209, closed.

torounit avatar Jul 26 '22 15:07 torounit