# Your VOTER/RTCM May Have Broken Itself on 01/01/21 00:01

**URL:** <https://community.allstarlink.org/t/your-voter-rtcm-may-have-broken-itself-on-01-01-21-00-01/18031>\
**Category:** AllStarLink\
**Created:** [January 4, 2021, 6:44am UTC](https://community.allstarlink.org/t/your-voter-rtcm-may-have-broken-itself-on-01-01-21-00-01/18031 "2021-01-04T06:44:47Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![W8KHW](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/dfb087/32.png) [@W8KHW](https://community.allstarlink.org/u/W8KHW)\
**Post date:** [January 8, 2021, 3:25pm UTC](https://community.allstarlink.org/t/your-voter-rtcm-may-have-broken-itself-on-01-01-21-00-01/18031/28 "2021-01-08T15:25:13Z")

</div>

That’s great news, Thank You!

I was surprised when searching to see that Microchip’s fix in other compilers solved the problem through 2037. I kept wondering why they would use that date or what they know about the future that I don’t.

73,  
Kevin  
W8KHW

> **···**
>
> > On Jan 8, 2021, at 9:01 AM, Wa1jhk1 via AllStarLink Discussion Groups [noreply@community.allstarlink.org](mailto:noreply@community.allstarlink.org) wrote:
> 
> > > ![](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/5fc32e/45.png "Wa1jhk1") | [Wa1jhk1](https://community.allstarlink.org/u/wa1jhk1)  
> > > January 8 |
> > > 
> > > - | - |
> > 
> > Hi All,
> > 
> > To check for the problem without rebooting the RTCM, change the debug value to 32 (menu option 14). The symptom shows up as “gps\_time: -1” in the GPS-DEBUG string:
> > 
> > GPS-DEBUG: $GPRMC,201833,A,4004.3350,N,10521.2352,W,000.0,023.1,050121,008.8,E\*6C  
> > GPS-DEBUG: mon: 0, gps\_time: -1, ctime: Thu Jan 1 00:00:0/ 1970
> > 
> > The -1 is being returned from the mktime library call. mktime evidently has a defect. -1 reports an error.
> > 
> > I have written a replacement for mktime that will work thru 2099. I have it running in V1.50. It displays this debug string:
> > 
> > GPS-DEBUG: $GPRMC,134238,A,4004.3361,N,10521.2338,W,000.0,322.5,080121,008.8,E\*6D  
> > GPS-DEBUG: mon: 1, gps\_time: 1610113358, ctime: Fri Jan 8 13:42:38 2021
> > 
> > We have this code running in ~10 RTCMs restoring our systems to operation.
> > 
> > I’d be happy to share the code.
> > 
> > 73,
> > 
> > Dave  
> > WA1JHK
> > 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/your-voter-rtcm-may-have-broken-itself-on-01-01-21-00-01/18031/26) or reply to this email to respond.
> > 
> > You are receiving this because you enabled mailing list mode.
> > 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/088a58bf8d30146b0e7bdd6917eaf5a928c12805adfac06273e68678a0353e7d).

---

_[View the full topic](https://community.allstarlink.org/t/your-voter-rtcm-may-have-broken-itself-on-01-01-21-00-01/18031)._
