Skip to content

Reporting: Transactions List - Simplify how time zones are calculated and passed on #9184

Open
@nagpai

Description

Describe the bug

( This is a WIP draft. Details and links are yet to be plugged in )
The transaction cache on the server saves time stamps in UTC.

The transactions list in reports ( Payment > Transactions ) and all other reports that use it ( e.g. Payment activity widget ), shows the time in the website time zone.

The filter queries, that are in the same website time zone, are eventually converted to UTC while querying the transaction cache. We however see this is done in a complex way where there is also user's local browser time zone involved.

We need to explore if getting the user's browser time zone is indeed required, or if there is a scope to simplify this further.

Additional context

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: lowThe issue/PR is low priority—not many people are affected or there’s a workaround, etc.type: technical debtThis issue/PR represents/solves the technical debt of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions