m1k1o / blog

Lightweight self-hosted facebook-styled PHP blog.

Home Page:https://blog.m1k1o.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Respect timezone on post save.

rygos opened this issue · comments

Since the time zone cannot be specified anywhere, the wrong time zone is always saved when writing a post. In my case two hours early.

Hey, @rygos thank you for your issue. This should fix your problem.

@m1k1o , thank you very much. For your solution is docker needed, right? I'm using a installation without docker =)

@rygos you are right, it should not be needed.

I changed solution, so it can be set up in config but I also left compatibiltiy with TZ environment variable.