[ZBX-12019] Frontend incorrectly displays calendar in maintenance edit form when system time zone is ahead of PHP timezone Created: 2017 Apr 05 Updated: 2017 Jun 05 Resolved: 2017 Jun 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.0.9rc1, 3.4.0alpha1 |
Fix Version/s: | 3.0.10rc1, 3.2.7rc1, 3.4.0alpha1 |
Type: | Problem report | Priority: | Minor |
Reporter: | Glebs Ivanovskis (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | maintenance, timezone, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | calendar.png done.png |
Sprint: | Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9 |
Story Points: | 1 |
Description |
Comments |
Comment by Oleksii Zagorskyi [ 2017 Apr 05 ] |
There are many related discussions, like |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Apr 10 ] |
Tested on a separate web server. PHP timezone is UTC, web server system timezone is UTC too. If my timezone is Europe/Riga the issue still exists. If I change my timezone to UTC (or any timezone West of UTC) the issue disappears. So, client timezone is what matters. |
Comment by Miks Kronkalns [ 2017 Apr 11 ] |
(1) No translation string changes. iivs CLOSED |
Comment by Miks Kronkalns [ 2017 Apr 11 ] |
Date-picker should be retested also in other places where it appears. |
Comment by Miks Kronkalns [ 2017 Apr 11 ] |
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-12019 |
Comment by Ivo Kurzemnieks [ 2017 May 22 ] |
(2) L267-271: To my understanding the code is redundant. The function it self is only called in places where there is no timebar. If no TZ recalculation is required, then no code is needed. I'd say remove it, check again. The coding style for added code is also wrong. Miks.Kronkalns RESOLVED in r68502. iivs CLOSED |
Comment by Miks Kronkalns [ 2017 Jun 01 ] |
Fixed:
|
Comment by Glebs Ivanovskis (Inactive) [ 2017 Jun 05 ] |
Dear Miks.Kronkalns, since you've been looking at calendar related code, can you comment on whether |