Content
View differences
Updated by Oliver Günther about 3 years ago
# Acceptance criteria Decision need
> A company in California (GMT-7) has its IT department in Pakistan (GMT+5). The instance time is set up for California. A user in Pakistan wants to configure a baseline for yesterday 8:00 each. Due to the time difference, yesterday is 8:00 in Pakistan but the day before yesterday is 20:00 in California.
# Solution idea
* When creating a new baseline quere we take the time zone of the user who creates the query
* Visitors from other time zones see the time zone which has been added. This is not calculated to their own time zone because "yesterday" might mean different things.
* When the user wants to change this time zone, they can hit the `Clear` button and this returns the time zone to the user's local time
* The legend shows the selected value like so:
* "Changes since yesterday 8:00 AM JST (YYYY-MM-DD HH:MM TZ local time), where `yesterday 8:00 AM JST` is the baseline value in the time zone as the user created it, and the value in parentheses is the current user's local time
# Solution idea
* Visitors from other time zones see the time zone which has been added. This is not calculated to their own time zone because "yesterday" might mean different things.
* When the user wants to change this time zone, they can hit the `Clear` button and this returns the time zone to the user's local time
* The legend shows the selected value like so:
* "Changes since yesterday 8:00 AM JST (YYYY-MM-DD HH:MM TZ local time), where `yesterday 8:00 AM JST` is the baseline value in the time zone as the user created it, and the value in parentheses is the current user's local time