Page 1 of 1

RTC module loses day of week when converting

Posted: Wed Nov 04, 2015 7:21 am
by woodstock
Hi,

First up I'd just like to say that I'm pretty new to ChibiOS (and RTOS' in general), but so far I think it's great!

I have noticed that the function to convert between RTCDateTime and tm structs (rtcConvertDateTimeToStructTm) does not convert the weekday field.
I have attached a patch file to fix this.

For future reference, what is the best way to make contributions?

woodstock

Re: RTC module loses day of week when converting

Posted: Wed Nov 04, 2015 9:11 am
by Giovanni
Hi,

Thanks for the patch, best way is to add a ticket to the tracker on SF, this way the change is not lost in the noise for sure.

Giovanni

Re: RTC module loses day of week when converting

Posted: Wed Nov 04, 2015 9:13 am
by woodstock
Thanks!