Open
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
- The topic came up while resolving a bug related to the Payment activity widget
- The PR above includes adjustment to how we adjust for the website time zone for the Payment widget numbers, and the date params to transaction list that appears when we click the
view report
link on the widget.
Activity