Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Display all information in the user's timezone #166

Open
1 task done
DanielGibbsNZ opened this issue Mar 21, 2019 · 7 comments
Open
1 task done

Display all information in the user's timezone #166

DanielGibbsNZ opened this issue Mar 21, 2019 · 7 comments
Assignees
Labels
enhancement New feature or request pinned Important Issues
Milestone

Comments

@DanielGibbsNZ
Copy link
Contributor

DanielGibbsNZ commented Mar 21, 2019

Feature request

  • I confirm that this is a feature request rather than a question.

What problem does this feature solve?

Users viewing the page and getting confused/frustrated by the days in the timeline being incorrect for their timezone. See #149.

What does the proposed API look like?

Adding a timezone parameter to each API request (server-rendered only).

How should this be implemented in your opinion?

  1. Detect timezone from browser (with JavaScript)
  2. Include timezone param with each API request
  3. Use user's timezone when calculating the days to show in the timeline

Note that the initial page-load of the timeline won't contain the timezone so may need to be modified to perform an API request on load.

Are you willing to work on this yourself?

Given that I don't have any experience in the technologies being used, this would take much more time than I am able to commit to this.

@open-collective-bot
Copy link

Hey @DanielGibbsNZ 👋, Thank you for opening an issue.

Check out our OpenCollective and consider backing us. Help us to continue developing this Amazing Project, we will appreciate it ❤️.

You can contribute from $2 🤓, less than a cup of coffee ☕ 😃

https://opencollective.com/statusfy

PS.: We offer priority support for all backers. Don't forget to add priority label when you start backing us 😄

@juliomrqz juliomrqz added enhancement New feature or request pinned Important Issues labels Mar 21, 2019
@MaximumDamage
Copy link

MaximumDamage commented Oct 12, 2019

Would it be an option to keep the backend UTC and let the client handle conversion?
This way the static pages support this feature.

@ajimix
Copy link

ajimix commented Dec 11, 2019

Another option is to use something like moment.js library to update the times on the browser in realtime, that would work with any kind of installation as it would be done in each user browser and according to the computer timezone.

@kfox1111
Copy link

Does anyone know where all the client display code is? Maybe its just a few places?

@elsbrock
Copy link

@juliomrqz juliomrqz added this to the 1.0.0 milestone May 4, 2020
@tovbinm
Copy link

tovbinm commented Jun 3, 2020

This would be a great addition!

@juliomrqz
Copy link
Owner

This feature will be available in the next major release (v1). There are big changes coming (mostly internal) for this major version. If you want more info, you go to #551. We appreciate your comments or suggestions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request pinned Important Issues
Projects
None yet
Development

No branches or pull requests

8 participants