WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 5 months ago

#46366 new enhancement

Posted Date - Field Arrangement - Reflect Locale Format OR Combine Fields

Reported by: Lucanos Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 5.1
Component: Date/Time Keywords:
Focuses: Cc:
PR Number:

Description

In the "Quick Edit" form, as well as the Classic Editor's "Publish" Metabox, show 5 fields for entering the Publish Date for a Page/Post.

[Month (Select)] [Day (Text)], [Year (Text)] @ [Hour (Text)]:[Minutes (Text)]

This is the American format, with Month first, but is not a common format outside of the US.

Even when the Date format is changed in Settings, that selected format is not used to arrange the Date Entry fields noted above.

Suggestion: Integrate a JS Library which allows DateTimes to be entered in various formats, in a single field, and then be processed to produce a value in the format which is required.

Example: I should be able to write a DateTime as "2019-2-28 10:00" and for that to be converted to "2 Feb 2019 10AM".

Attachments (2)

Screen Shot 2019-02-28 at 9.43.37 am.png (5.7 KB) - added by Lucanos 8 months ago.
DateTime Fields in QuickEdit
Screen Shot 2019-02-28 at 9.43.55 am.png (8.4 KB) - added by Lucanos 8 months ago.
DateTime Fields in Classic Editor

Download all attachments as: .zip

Change History (3)

@Lucanos
8 months ago

DateTime Fields in QuickEdit

@Lucanos
8 months ago

DateTime Fields in Classic Editor

#1 @Rarst
5 months ago

Related #43028

Note: See TracTickets for help on using tickets.