Skip to content

The timezone of the times displayed on the transactions list page is not clear #9472

Open
@shendy-a8c

Description

@shendy-a8c

Describe the bug

The times displayed on the transactions list page under the Date / Time column is in store's timezone (see this line). This is not clearly stated.

A possible solution is to add the timezone in the column header, eg Date / Time (UTC+3), either by:

  • Passing wp_timezone_string() from PHP via wcpaySettings and render it, or
  • Just in Javascript, call dateI18n():
dateI18n('TP') // Will display UTC+01:00

To Reproduce

  1. Set blog timezone to be different from browser's timezone. wp-admin > Settings > General > Timezone.
  2. Buy something to create a transaction.
  3. See the time of transaction is displayed in store's timezone.

Actual behavior

It's not clear which timezone the transaction time is displayed in. Intuitively, user might think it's in their local / browser's timezone but actually it is not.

Expected behavior

It's clear to user which timezone the transaction time is displayed in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions