[LEAPSECS] stale leap second information

Rob Seaman seaman at noao.edu
Fri Jan 16 09:16:39 EST 2015


On Jan 16, 2015, at 3:37 AM, Tony Finch <dot at dotat.at> wrote:

> $ dig +short leapsecond.dotat.at aaaa | sed 's/:6:/:06:/' | sort

Stupid sed tricks to be compliant both with extended ISO-8601 and with the "end of any month" requirement of TF.460:

% dig +short leapsecond.dotat.at aaaa | sed -e 's/:\(.\):/:0\1:/' -e 's/::/T/' -e 's/:/-/' -e 's/:/-/' -e 's/$/Z/' | sort

1972-06-30T23:59:60Z
1972-12-31T23:59:60Z
1973-12-31T23:59:60Z
...
2008-12-31T23:59:60Z
2012-06-30T23:59:60Z
2015-06-30T23:59:60Z

One supposes that the two zeroed IPV6 fields might be used to convey additional information if you don't want to worry about providing a date/time delimiter.

Presumably a negative leap would be denoted ending :58?

Rob



More information about the LEAPSECS mailing list