Skip to content

Scheduled Post time has mismatched between time shown and hint #25256

@mkaz

Description

@mkaz

Describe the bug

When displaying the time in the calendar, a hint was added in #23400 so the user would know what timezone the post was being schedule in.

The issue is it now appears that the time being selected is the user's time and not the server time.

To reproduce
Steps to reproduce the behavior:

  1. Set the site time to a different timezone, this example site set to EDT
  2. Create a new post and schedule the post time
  3. Notice the hint shown is EDT, but the time picked is in PDT

Expected behavior

The time shown should match the hint of what time zone it is being set to.

Screenshots

date-time

Related trac ticket: https://core.trac.wordpress.org/ticket/50624

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Components/packages/components[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions