WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#46423 new defect (bug)

Posts on wp-admin page should be ordered by date_gmt and not date

Reported by: nickylimjj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version:
Component: Posts, Post Types Keywords: ux-feedback
Focuses: Cc:
PR Number:

Description

I believe the dates should be ordered by the absolute value of time (ie, UTC time) instead of by timezone.

To illustrate,
Current post sequence

Two [@ UTC 1900 (my timezone is set to New York UTC-5 1300)]
One [@ UTC 1800 (my timezone is set to UTC 1800)]

Since 1300 is before 1800. Ordered by my date


Proposed post sequence

One [@ UTC 1800 (my timezone is set to UTC 1800)]
Two [@ UTC 1900 (my timezone is set to New York UTC-5 1300)]

Since 1800 is before 1900. Ordered by absolute date_gmt.

Attachments (1)

date-issue.png (176.3 KB) - added by nickylimjj 7 months ago.
Screenshot. Of how 10:19 est and 10:20 est is not sequential because of the timezone change in between.

Download all attachments as: .zip

Change History (3)

#1 follow-up: @joyously
7 months ago

Are you sure that's what's happening? Aren't they listed newest first anyway?

#2 in reply to: ↑ 1 @nickylimjj
7 months ago

Replying to joyously:

Are you sure that's what's happening? Aren't they listed newest first anyway?

That's what I get when I'm developing on one.wordpress.com when using VVV.
Confirmed on trunk.wordpress.test as well for version 5.0.0

Last edited 7 months ago by nickylimjj (previous) (diff)

@nickylimjj
7 months ago

Screenshot. Of how 10:19 est and 10:20 est is not sequential because of the timezone change in between.

Note: See TracTickets for help on using tickets.