You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Markus,
Great library !
Found little issue while checking the examples:
In the second and third example (Simple_German_Summertime and Simple_German_Timing_Summertime there is a difference. The Due_RTC.timing() function is called. Due_RTC.timing() function seems to be required to correctly return the summertime YES/NO value.
In the CPP there is indeed a call for the meztime variable,(mez =CET for non German speaking !) which is set in the Due_RTC.timing() function.
This explains why the Simple_German_Summertime.ino is not working correctly.
You may want to change the Summertime() function to avoid calling the meztime variable.
yes you are right there is something wrong, should remove the
Due_RTC.timing() and change the Summertime() function to give the right
value back without the need of the timing() function. Yeah and may I have
to use only one language in the library for the variables, my bad. Thanks
for showing me the issues in the library. ATM I have no DUE in my range may
you can test the changes?
Hi Markus,
Great library !
Found little issue while checking the examples:
In the second and third example (Simple_German_Summertime and
Simple_German_Timing_Summertime there is a difference. The Due_RTC.timing()
function is called. Due_RTC.timing() function seems to be required to
correctly return the summertime YES/NO value.
In the CPP there is indeed a call for the meztime variable,(mez =CET for
non German speaking !) which is set in the Due_RTC.timing() function.
This explains why the Simple_German_Summertime.ino is not working
correctly.
You may want to change the Summertime() function to avoid calling the
meztime variable.
—
Reply to this email directly or view it on GitHub #3.
Hi Markus,
Thank you for your response.
1.
Yes, I would be glad to test the changes on my Due
Do not expect very high level comments,due to limited Arduino C experience, but I will certainly give it a try to test and come up with suggestions
2.
A further remark on your library is the function Timezone. I do not quite understand this function.
I saw it in the CPP file but not in the TXT file. What does this?
Point 1.
Thanks thats really nice
Point 2.
The function timezone is mostly usefull in use with the unixtime with the timezone you can shift the unixtime (is set to greenwich GMT-0) to your localtime so if you use the timezone parameter the timestamp get added or subtracted the difference to your timezone in seconds so that you get a "personal unixtime" to use
Hi Markus,
1.The "Simple_German_Summertime and Simple_German_Timing_Summertime" does not check for Summertime any more. After correcting this by using the old version of this file, your latest changes checked out well. Compliments.
2. I could not understand the dst_followup() function. It does not return a value.
best regards
Yes I deleted the old examples for the new one. The dst_followup() function is in use for the german summertime instead, this function checks the date and time and changed the clock if necessary when it goes from summer- to wintertime ot the other way. So I changed some minor things inside for the new function. Hope this does it better
You may like the timezone library by Christensen. this could make the library a whole lot more generic, as opposed to support for summertime for Germany only. :) https://github.com/JChristensen/Timezone
Activity
MarkusLange commentedon Mar 30, 2015
Thanks for the reply,
yes you are right there is something wrong, should remove the
Due_RTC.timing() and change the Summertime() function to give the right
value back without the need of the timing() function. Yeah and may I have
to use only one language in the library for the variables, my bad. Thanks
for showing me the issues in the library. ATM I have no DUE in my range may
you can test the changes?
BR
Markus
On Mon, Mar 30, 2015 at 12:50 PM, Oegtsgeest notifications@github.com
wrote:
Oegtsgeest commentedon Mar 30, 2015
Hi Markus,
Thank you for your response.
1.
Yes, I would be glad to test the changes on my Due
Do not expect very high level comments,due to limited Arduino C experience, but I will certainly give it a try to test and come up with suggestions
2.
A further remark on your library is the function Timezone. I do not quite understand this function.
I saw it in the CPP file but not in the TXT file. What does this?
brgds
MarkusLange commentedon Mar 31, 2015
Point 1.
Thanks thats really nice
Point 2.
The function timezone is mostly usefull in use with the unixtime with the timezone you can shift the unixtime (is set to greenwich GMT-0) to your localtime so if you use the timezone parameter the timestamp get added or subtracted the difference to your timezone in seconds so that you get a "personal unixtime" to use
Oegtsgeest commentedon Mar 31, 2015
Ok thx for your explanation.
I'll wait for your new code to test
MarkusLange commentedon Apr 7, 2015
So a new one is there.
Oegtsgeest commentedon Apr 8, 2015
Hi Markus,
1.The "Simple_German_Summertime and Simple_German_Timing_Summertime" does not check for Summertime any more. After correcting this by using the old version of this file, your latest changes checked out well. Compliments.
2. I could not understand the dst_followup() function. It does not return a value.
best regards
MarkusLange commentedon Apr 8, 2015
Yes I deleted the old examples for the new one. The dst_followup() function is in use for the german summertime instead, this function checks the date and time and changed the clock if necessary when it goes from summer- to wintertime ot the other way. So I changed some minor things inside for the new function. Hope this does it better
kapyaar commentedon Jun 1, 2015
Hi Marcus,
You may like the timezone library by Christensen. this could make the library a whole lot more generic, as opposed to support for summertime for Germany only. :)
https://github.com/JChristensen/Timezone
MarkusLange commentedon Jun 4, 2015
Yeah youre fully right I was thinking the same, will take a closer look next time