Reading thru this again and noted you found the RTC bug. Worked on this a short while ago. Here's my post on that:
Wrote a small program to test this value (using set/gettimeofday) and the magic number is 1,382,400,000. This is when it fails.
GMT: Tuesday, October 22, 2013 12:00:00 AM
Your time zone: Monday, October 21, 2013 5:00:00 PM GMT-07:00 DST
So the last accepted value was 1,382,399,999 or:
GMT: Monday, October 21, 2013 11:59:59 PM
Your time zone: Monday, October 21, 2013 4:59:59 PM GMT-07:00 DST
So what is so special about this number?