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 savings time clock setting #20

Open
uyjulian opened this issue Nov 6, 2017 · 1 comment
Open

Issue with daylight savings time clock setting #20

uyjulian opened this issue Nov 6, 2017 · 1 comment

Comments

@uyjulian
Copy link
Contributor

uyjulian commented Nov 6, 2017

It seems that the clock setting function on all calc-*.c files are bugged, as they set ref.tm_isdst = 1; even through it is not Daylight Savings Time. That means that the hour is set one hour behind.

@debrouxl
Copy link
Owner

debrouxl commented Mar 27, 2018

I'll try replacing these cur.tm_isdst = 1; by cur.tm_isdst = ref.tm_isdst;.

EDIT: that's not enough.

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