-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Timezone with half an hour? #2684
Comments
See #1192 |
I tried that and it doesn't seem to be working.
|
Hi, I tested your case and works without problems. I just change on user_config.h file the following:
I compile it and flash to a Sonoff. Then, on the console I write Console Output:
Time checked also using the website https://24timezones.com/ Your location has UTC +10h 30m, so if UTC=03:22:00, your time=13:52:00 Your DST is +10h30m = +630minutes Please, use the above settings on the file user_config.h Hope this solve your issue. |
Okay that's the issue. I was adding +9.5 not +930. My bad. |
So I still can't get this to work. I'm not currently in DST time yet when I change Even if I set the
|
My timezone is +930 normally with +1030 in DST. I'm also in the southern hemisphere. According to Wikipedia my DST starts on the first Sunday in October and ends on the first Sunday in April. |
Hi, You are right! It is giving wrong time for you. Looking at https://24timezones.com/world_directory/time_in_adelaide.php:
Results in:
UTC (00:21) + STD (+9.5hs) = 09:51 But it is resulting in 10:51. That is wrong. It is using DST instead of STD. Should be using STD (starting on 1 APR) Let's test another country from the Southern Hemisphere:
Results in:
UTC (01:51) + DST (-3hs) = 22:51 And it is correct. Chile is using DST now. So, @arendst can you look at this? |
Fix issue arendst#2684 DST and STD times for Southern Hemisphere
Today Chile changed from DST to STD. But testing Tasmota on a Sonoff stays on DST. Is not correct. Found that the code that checks for DST and STD for Southern Hemisphere had a bug on Made the PR #2714 to fix this. Tested new code with settings for Australia, Chile and Netherlands and works fine. Chile Example, Tasmota's console: Sonoff without the proposed fix:
Another Sonoff with the proposed fix: (time equal to https://24timezones.com/world_directory/time_in_santiago.php)
|
Hi @OmgImAlexis The fix was applied. Please, test it again. And if the problem is solved for you, please close this issue. Thanks. |
Fix issue arendst#2684 DST and STD times for Southern Hemisphere
Is there currently any way to set a timezone with 30 min increments?
I live in South Australia which uses +930/+1030 depending on DST.
The text was updated successfully, but these errors were encountered: