Adds providers to datepickers that configure them to use the UTC date format - before they would use the local timezone, which would lead to date jumps, since they were converted to UTC in the backen. E.g. 01.06.2024 00:00 GMT+2 would become 31.05.2024 22:00 UTC.
Code review focus
Test extensively, the bug occured less often on my local machine - so maybe it is not fixed.
If it is fixed, remove the code block
Description
Bugfix
What does this PR do?
Adds providers to datepickers that configure them to use the UTC date format - before they would use the local timezone, which would lead to date jumps, since they were converted to UTC in the backen. E.g. 01.06.2024 00:00 GMT+2 would become 31.05.2024 22:00 UTC.
Code review focus
Test extensively, the bug occured less often on my local machine - so maybe it is not fixed. If it is fixed, remove the code block
from the providers array in
licenses.module.ts
andproject.module.ts
. I needed these to make it work, but the Angular docs do not mention them.Checks
closes GH-204