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

For Date Polls Allow End users to Select their own timezone #1250

Closed
ekianjo opened this issue Nov 22, 2020 · 9 comments
Closed

For Date Polls Allow End users to Select their own timezone #1250

ekianjo opened this issue Nov 22, 2020 · 9 comments

Comments

@ekianjo
Copy link

ekianjo commented Nov 22, 2020

Right now the date polls default to UTC for all users which is hard to understand if you are not close to that timezone. End users should be able to see their own timezone and the survey would adapt the displayed dates accordingly

@dartcafe
Copy link
Collaborator

Timezones are taken from the browser's settings. See discussion in #995 for possible issues on your side.

@ekianjo
Copy link
Author

ekianjo commented Dec 3, 2020

thanks - let me confirm

@datendelphin
Copy link

I have a similar request. Using browser settings for the time zone seems to work well, but not everyone knows their time zone setting or how to set it in their browser. At least displaying somewhere which time zone is currently used would be appreciated.

Case: I just had a discussion with someone from another time zone, trying to figure out if we need to manually apply time shift or not. Having the time zone at least displayed would avoid such a confusion and make it clear that polls actually supports time zones (which is a nice feature, thanks)

@dartcafe
Copy link
Collaborator

This is the current implementation:
grafik
see also: #1076

@datendelphin
Copy link

Sorry about that, indeed I just need to update and it shows what I need! Thank you

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 24, 2021

Using browser settings for the time zone seems to work well, but not everyone knows their time zone setting or how to set it in their browser.

Just for clarificiation: The timezone is normally taken from the user's OS, not set in the browser. So the timezone the browser uses should be identically to the timezone used on the entire computer.

Sorry about that,

And please no apologies for requests and questions...

@webberian
Copy link

@dartcafe , you wrote:

Just for clarificiation: The timezone is normally taken from the user's OS, not set in the browser. So the timezone the browser uses should be identically to the timezone used on the entire computer.

As #995 demonstrates, at least for Firefox the timezone is taken from the browser, NOT from the OS.
And I imagine since Javascript only has limited access to the OS - probably even with Chromium and other browsers? - the timezone, is in fact taken from the browser, no?

But you are correct in pointing out that without any extra privacy plugins or settings in the browser, per default browsers will have the same timezone as the OS.

@dartcafe
Copy link
Collaborator

Of course js gets it's timezone information from the browser. But the browser takes it from the OS, where the timezone is defined. And usual browsers do not offer changing the timezone. I just wanted to clarify, that the definition of the timezone is controlled by the client and not by the server, nextcloud or the app.

Copy link

github-actions bot commented Jun 4, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants