-
Notifications
You must be signed in to change notification settings - Fork 73
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
Poll shows wrong time on the day of daylight saving change #211
Comments
Note to @dartcafe
Reproduce Poll with following options: Need to investigate on writing the UTC time. There seems to be an error on writing the selected vote time to the db. |
@dartcafe Isn't the UTC time written to the DB? |
Yes. But it seems, that the time is assumed to be UTC+2, but it is UTC+1 from Oct 29th on. |
https://github.com/nextcloud/polls/blob/master/lib/Controller/PageController.php#L478 is the line where it's added to the db. I'll have a look at phps |
I had a look at the timestamps coming from JS (the values in |
Hmmm. I would say, overwork to the create page should be the next project. So we can use another date picker and another way to build more flexible poll options. The problem will occur next time in march. Until then, we have time. 🤣 |
I thought about switching to a js framework. But I only know how to use Angular1 which is rather old. |
We should use the core timepicker. Makes it more unique for the user and it is build in. See: nextcloud/server#6348 and recent related issues. |
Yes, as soon as it is available. If it is something that should be fixed before the new NC datetimepicker (NC 14 I think), it should be passed over to the current datetimepicker lib. |
+1 for using vue.js! I also thought about having a look at it. |
I'd suggest to switch (on a dev branch) to vue.js after @dartcafe has finished the UI improvements. |
I have almost the same problem with the time. I create a poll around 09:59, but the comments show times 09:05 and 09:10 ... |
Another date problem: choosing an expiration date X days from now results in an expiration date X days BEFORE now. |
@v1r0x Ok, I'll wait until tomorrow. If it's only the translation the absolute value will decrease, if not increase |
See here: nextcloud/server#6897, nextcloud/server#6896 and |
No further investigation, since this appears to happen only twice a year. No chance of reproduction right now. |
Polls show the wrong time in the poll, on the day, the day light saving changes.
All other dates (28th and 30th for example) are interpreting the time zone correct.
The text was updated successfully, but these errors were encountered: