• Benoit Rat's avatar
    tools: wr_mon: show usec to avoid rounding errors (38s instead of 37) · d94ff7a8
    Benoit Rat authored
    We have 37s of leap second but we were showing without usec the
    following which could be seen as a wrong leap second offset.
    
    WR time (TAI):     2019-03-15 05:40:48.006697
    Switch time (UTC): 2019-03-15 05:40:10.975551
    
    localtime has also been replaced by gmtime (TAI should never be
    converted using localtime in case TZ variable is set)
    
    Conflicts:
    	userspace/tools/wr_mon.c
    d94ff7a8
wr_mon.c 34.6 KB