mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Due date timezone incorrect #896
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sumnerboy12 on GitHub (Jan 11, 2026).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Chrome
Current behavior
My browser is set to New Zealand timezone. If I set a due date on a card I select 12:00 on 11 Jan 2026 and after confirming, the UI is showing a due date on the card of 23:00 on 10 Jan 2026, which looks like UTC timezone.
I can't see anything in the docs or sample .env file with a TZ setting.
Is there a way to configure the timezone correctly?
Desired behavior
No response
Steps to reproduce
Using a browser in non-UTC timezone, enter a due date for a card.
Other information
No response
@meltyshev commented on GitHub (Jan 11, 2026):
Hey! Thanks for reporting this. I think the issue might be that the server has a
TZenvironment variable set, which overrides the database's default timezone and causes dates to be converted before they're saved.We recently made several changes around this by removing the
TZenv variable. Previously, it always had to be set toUTCfor the app to work correctly, and that was a common source of issues. Going forward, this should be handled automatically without relying onTZ. That said, the final v2 release isn't out yet - we're still working on it, and it should be available in a few days.For now, as a workaround, you can try adding
TZ=UTCto yourdocker-compose.yml(under the planka service), or if you're using a manual installation, addTZ=UTCto the.envfile instead. If the problem persists, please let us know. You can also try the Pro demo on our website and set a due date there - this version already includes the change, so we'll be able to confirm if the issue will be resolved in the new release.@sumnerboy12 commented on GitHub (Jan 11, 2026):
Thanks so much for the prompt reply - I tried adding TZ=UTC and now everything is working - fantastic!! Thanks again, and thanks for sharing such a wonderful tool!!