Skip to content

Transaction detail screen shows transaction time inconsistently – UTC in header, localised/merchant timezone in timeline #9135

Open
@haszari

Description

Describe the bug

The transaction detail screen shows transaction summary and a timeline of various events.

  • The summary shows DATE in UTC.
  • The timeline shows events in local timezone (not sure if it's browser or woo-store setting).

To Reproduce

  1. Be a shopper or merchant in a non-UTC timezone.
  2. Make a purchase.
  3. View the transaction details for the relevant charge.
  4. See different times on same page.

Screenshots

Screenshot 2024-07-19 at 11 44 07 AM

Note I am in NZT, UTC+12.

Expected behavior

Ideally, all times in merchant dashboard should use either merchant/store timezone, or user (browser) current timezone.

Note that this is likely inconsistent in a few places in UI, so this might be a symptom of a larger problem. Many screens use UTC (in particular, list views – transactions, disputes etc).

Additional context

Discovered when testing / working on Payment overview > Payment activity card project, see related issue:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus: reportingpriority: mediumThe issue/PR is medium priority—non-critical functionality loss, minimal effect on usabilitystatus: blockedThe issue is blocked from progressing, waiting for another piece of work to be done.type: bugThe issue is a confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions