Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Icetube date says 00-4-13 today
Moderators: adafruit_support_bill, adafruit

Icetube date says 00-4-13 today

by NorthStreetLabs on Fri Jan 04, 2013 1:23 pm

Hey guys, great clock, I built mine last year after receiving it as a gift for christmas. been working great, but I noticed the date was wrong today, and upon further inspection I noticed there is a whole month for "00", somehow it relates to today the 4th of 00, as a tuesday. I simply changed the date an increment to "01" and then the date correctly corresponded to friday the 4th. Now, when I set the date beyond "12" it'll reset to "01" and never hits "00".

I am by far not complaining, I laughed pretty hard upon finding this glitch. But I am curious if this will happen again next year, if it's a code issue I wouldn't mind updating the code. Any ideas as to what caused it? And more confusing to me, how did it even correspond a different day to 00-04-13, considering this month doesn't even exist.

thanks for reading!
NorthStreetLabs
 
Posts: 2
Joined: Fri Jan 04, 2013 1:17 pm

Re: Icetube date says 00-4-13 today

by adafruit_support_rick on Fri Jan 04, 2013 2:34 pm

What firmware are you using? Mine says "Friday, Jan 04".

adafruit_support_rick
 
Posts: 18421
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Icetube date says 00-4-13 today

by NorthStreetLabs on Sat Jan 05, 2013 2:14 pm

Hey Driverblock,

Whatever firmware was shipped with the kit back in December 2011, I built it in january 2012 so I never saw this glitch last year.
NorthStreetLabs
 
Posts: 2
Joined: Fri Jan 04, 2013 1:17 pm

Re: Icetube date says 00-4-13 today

by adafruit_support_rick on Sat Jan 05, 2013 2:39 pm

The firmware hasn't changed since then, to my knowledge. How are you getting that display? When I press the '+' button, I get "Saturday, Jan 05". When I go into the menu to "Set Date", I get "01-05-13".

Hmmm … just had a quick look at the code. On startup, the month is not explicitly initialized to 1. If you built the thing in January, and didn't adjust the month from 0 when you first set it, then I think it would just go on happily from there, always 1 month behind.

But, I don't think it would wrap around back to 0 at the end of the year. I think that it would wrap back to January (i.e., '01') every Feb 1st.

adafruit_support_rick
 
Posts: 18421
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Icetube date says 00-4-13 today

by JD3 on Sat Jan 05, 2013 5:23 pm

Maybe it's something with the Mayan calendar? :roll:
That little black caterpillar you just stepped on will set you back a few bucks....
JD3
 
Posts: 101
Joined: Sat Jul 28, 2012 8:01 am