Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fields: number fields entered for today get set to previous day #120

Open
3 tasks
lefnire opened this issue Nov 23, 2020 · 0 comments
Open
3 tasks

Fields: number fields entered for today get set to previous day #120

lefnire opened this issue Nov 23, 2020 · 0 comments
Labels
📊Behaviors Fields / influencers issues bug Something isn't working help wanted Extra attention is needed

Comments

@lefnire
Copy link
Collaborator

lefnire commented Nov 23, 2020

For me the number custom fields only show values for the previous day. I.e. if I update the fields with today's info, then reload/close the page, next time I open Gnothi.ai, all fields will have reverted to last day's values. Weirdly enough, the graphs don't seem to be affected: when I click on a field to look at the trend, the graph contains the correct value I entered for the day.

Expected behaviour would be all fields appearing blank (which is what I have set their default value to) after midnight. I tried changing the default value to an arbitrary number doesn't seem to have any effect.

Solution: write heavy server/tests unit-tests:

  • Create fields with sender at various time zones
  • Have sender switch time zones
  • Spam server (async sends) to check duplicates
@lefnire lefnire added bug Something isn't working help wanted Extra attention is needed 📊Behaviors Fields / influencers issues labels Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📊Behaviors Fields / influencers issues bug Something isn't working help wanted Extra attention is needed
Projects
Status: Next
Development

No branches or pull requests

1 participant