Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

adjust input data for ActionsByTimeOfDay chart #57

Open
hagoptaminian opened this issue Oct 12, 2020 · 0 comments
Open

adjust input data for ActionsByTimeOfDay chart #57

hagoptaminian opened this issue Oct 12, 2020 · 0 comments
Assignees
Labels
chore Chore or task feature New feature or request

Comments

@hagoptaminian
Copy link
Contributor

In this app, the chart ActionsByTimeOfDay plots 'time of day' (x-axis) and 'number of actions' (y-axis). Currently, the 'time of day' input is derived from an action's createdAt tag, which is an auto-generated timestamp logged by our server, corresponding to the CET time the action was made. However, this doesn't mean the action was actually performed at that time: If the action was made in (say) the EST timezone, it was made -06:00 hours before the createdAt timestamp.

This can be fixed. Each action object has (e.g.):

"geolocation": { "country": "CH", region: "ZH", "timezone": "Europe/Zurich", "city": "Zurich", ...}

which we can use to derive the correct time the action was made.

@hagoptaminian hagoptaminian added feature New feature or request chore Chore or task labels Oct 12, 2020
@hagoptaminian hagoptaminian self-assigned this Oct 12, 2020
@pyphilia pyphilia assigned rayacers and unassigned hagoptaminian Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chore Chore or task feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants