-
Notifications
You must be signed in to change notification settings - Fork 99
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
Wrong Timezone in Tasks? #2586
Comments
I'm seeing this as well. Time is changed from my input time +1200 (say, 6:30pm) to UTC (6:30am) It looks like 0.16 was supposed to have a fix for this, but maybe it's a different issue that causes this regression? |
Confirm that this issue exists in my setup as well |
Same here, any tasks in my time zone revert back to UTC time. |
I can confirm this issue |
Can also confirm this, but changes to a different time offset from OP's. The correct time shows when I refresh the page. |
I have the same wrong behavior since the last Tasks release. |
I also experience similar things. When creating a task with a due-date and time, it displays in the wrong time zone, two hours before the actual intended time. But when I refresh the page, it's fixed. It's a minor bug, but still annoying. It looks like there have been similar things before, which are already fixed, but it's still here. Unless it has been fixed with Nextcloud 29 already, I can confirm this bug. (I couldn't update to NC 29 yet, as AIO hasn't pushed it yet.) |
See this discussion on updating to NC29 while on AIO, if you'd like to do it yourself before it lands in AIO. |
I tried it before, but it caused issues. I am going to wait. |
I have the same issue. |
I feel like the expected behaviour is
I guess this is similar to the calendar app |
I can confirm the same situation is happening on my setup as well. Rebooting the system will cause it to display the correct time, (pulling from the system clock), however editing the task to set a start/end time will default back to the wrong time zone. |
System reboot is not necessary, browser reload is sufficient here. |
Further testing on my end confirms this on my setup. Refreshing the page in the browser also fixed the displayed time and the entire reboot was not needed. |
I packed a version which hopefully has this issue fixed: tasks.tar.gz It would be very helpful if someone could test it to confirm the issue being fixed. |
not fixed here
diff -r --brief tasks_orig tasks | while read line; do file=$(echo $line | awk '{print $4}'); if [ -f "$file" ]; then ls -l --time-style=long-iso "$file"; else echo $line; fi; done -rwxr-xr-x. 1 apache apache 1971 2024-08-04 18:18 tasks/appinfo/info.xml |
Are you sure that not an old version of Tasks is cashed somewhere (either in your browser, or on the server)? It works fine here with 29.0.4 and the version from above. |
I used the download in ur post |
Update: all fine after deleting browser data manually. It is working now |
NC 29.0.4 with Tasks 0.16 and I'm still seeing the incorrect timezone initially. Set completed or start date to 5:00pm and it swaps to 5:00am (I'm +1200 UTC, so this is the "expected incorrect" time). A refresh displays the time correctly. So the server is saving it fine, it's just things get confused when the UI handles the input directly. I've dumped browser data as well as kept dev tools open with "don't load from cache". There seem to be a few places where timezones are handled, so I'm wondering if this is one last place that needs fixing? |
This issue got reported for 0.16.0 and the milestone is set to 0.16.1. This means it is not working for 0.16.0 and will be fixed in the next minor release 0.16.1. |
Ah, my bad, misunderstood the previous messages. Thanks! |
Steps to reproduce
At this click the time, given at step 2 jumps back by two hours. Obviously Tasks operate with UTC and does not recognize that the timezone of the server is CEST.
Is this a bug? Or is it a misconfiguration of the server? But I am sure that in Tasks before version 0.16.0 the given starting time did not jump back.
Expected behavior
I would expect, that the given staring time would being kept by.
Actual behaviour
The given starting time is being replaced by a time two hours back.
Tasks app version
0.16.0
CalDAV-clients used
Web Interface of NC
Browser
Firefox 126.0.0
Client operating system
macOS 12.7.5
Server operating system
Linux 5.10.0-29-amd64 x86_64
Web server
Apache
Database engine version
PostgreSQL
PHP engine version
PHP 8.2
Nextcloud version
29.0.1
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
Web server error log
Log file
Browser log
Additional info
No response
The text was updated successfully, but these errors were encountered: