Make WordPress Core

Opened 6 years ago

Last modified 4 years ago

#46423 new defect (bug)

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

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

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 6 years 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 (4)

#1 follow-up: @joyously
6 years ago

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

#2 in reply to: ↑ 1 @nickylimjj
6 years 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 6 years ago by nickylimjj (previous) (diff)

@nickylimjj
6 years ago

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

This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.


4 years ago

Note: See TracTickets for help on using tickets.