Skip to content

Post time incorrect by UTC offset in WP 6.1.1 on Atomic #71529

Open
@Nic-Sevic

Description

Quick summary

On WoA sites on WP 6.1.1 (latest) post times are offset by the equivalent of the difference between the sites timezone and UTC. When the site is set to UTC the time is correct.

Occasionally a new post will also display Schedule instead of Publish, I think because it’s done some conversion already and things the post is in the future even though it reports Immediately next to the time.

  • It only happens with the block editor; time is correct when posted using classic editor
  • I can’t reproduce on Simple or self hosted (with or without Jetpack)
  • It doesn't happen when WP version is set to Previous (6.0.3)
  • I confirmed with the Atomic team that this is not likely due to Atomic server settings already

Steps to reproduce

  1. On a WoA site on latest version of WP, set the site time to some zone other than UTC (if you set to your TZ the testing is easier)
  2. create a post and publish it immediately
  3. click the publish time link and compare to the time in the popup

What you expected to happen

When posts are published immediately they should display the current time. Not the current time plus the UTC offset

What actually happened

On WoA sites on WP 6.1.1 (latest) post times are offset by the equivalent of the difference between the sites timezone and UTC. When the site is set to UTC the time is correct.

image

image

Context

p9F6qB-b40-p2#comment-51010

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

no

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

All

Available workarounds?

None

Workaround details

If you set the site time to UTC it will reflect correctly (according to UTC time)

Metadata

Assignees

No one assigned

    Labels

    Customer ReportIssues or PRs that were reported via Happiness. Previously known as "Happiness Request".TriagedTo be used when issues have been triaged.[Feature] Site SettingsAll other general site settings.[Interaction #] > 10(Automated) interaction count label for better visibility. Please don't add these manualliy.[Platform] Atomic[Pri] NormalSchedule for the next available opportuinity.[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions