Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Daylight Saving Time #346

Open
SirMartin opened this issue Apr 1, 2024 · 1 comment
Open

Issue with Daylight Saving Time #346

SirMartin opened this issue Apr 1, 2024 · 1 comment

Comments

@SirMartin
Copy link
Contributor

Hello,

I just found an issue today, this weekend we changed the hour (Daylight Saving Time), and I just found that of course now my Maloja instance works 1 hour behind, I can change the UTC offset, but this makes errors with all the previous ones, and I think will start at change stats for each week, day, etc, that is not a very good practice.

Probably Maloja should be able to work with a Timezone, and just continue from them. Is not something critical, but, it would be a very nice feature.

@GitPuffy
Copy link

GitPuffy commented Feb 6, 2025

I started looking at the code and wonder if just doing a calculation in /web/jinja/partials/scribbles.jinja to calculate the offset from UTC to the locale time of the web browser, thus displaying in whichever time zone your web browser is in. Seems like an elegant solution as opposed to modifying time stamps in the database.

I will continue to tinker and see what I can come up with.

Does this sound feasible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants