stable

Clone or download

Read-only

request #12558 Timezones issue with burndown and burnup graphs

How to test: Change your Tuleap user's timezone: Before the patch the date datetime is relative to your user timezone (and not the serveur) For instance the time representations with users based on different timezone will looks like: User in UTC+1 2018-07-17T00:00:00+01:00 User in UTC+2 2018-07-17T00:00:00+02:00 With this representation the day might change, as its linked to the ser timezone With this patch the date is relative to the server timezone and the user timezone, previous example will gives us: User in UTC+1 2018-07-17T01:00:00+01:00 User in UTC+2 2018-07-17T02:00:00+02:00 So the iniital date will always be the same Change-Id: I4dcbdf367b36ffc177e4cc03e6003538d14f9390

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilder.php +9 −5 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderTest.php +8 −8 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderTest.php +11 −7 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file