eduardolat / pgbackweb

🐘 Effortless PostgreSQL backups with a user-friendly web interface! 🌐💾
MIT License
716 stars 30 forks source link

Feat/timezone bound displays #29

Closed julien-wff closed 1 month ago

julien-wff commented 1 month ago

Hi there!

As mentioned in #25, time is always UTC throughout the app. I think it would be better off following the timezone of the container, so I added .Local() to every time formatting.

Maybe following the browser's time would be even better, but using SSR makes it more complicated to implement. I think for now it's fine.

Hope you agree!

eduardolat commented 1 month ago

There is nothing I hate more than working with time. Good job!