Setting a Timezone for the container #2522
-
|
I had an issue while creating a new API key wherein the Created At field would show the incorrect time (It shows the universal time instead of the local time). I fixed this issue by adding the following to the web service of the compose file. This takes the localtime and timezone values from the host system. I confirmed that this worked by running So far, everything seems to be working fine but I am worried if something will break in the future. Is this the best approach and if yes, shouldn't this be added as a default to the existing compose file? (Having a local timezone would be helpful for debugging when something goes wrong) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I think in general, karakeep's server shouldn't care about the user's timezone and when rendering timestamps in the app we should localize them instead. I'd consider us showing the unix time a bug that should be fixed. |
Beta Was this translation helpful? Give feedback.
I think in general, karakeep's server shouldn't care about the user's timezone and when rendering timestamps in the app we should localize them instead. I'd consider us showing the unix time a bug that should be fixed.