[PATCH] time/time.h: CLOCK_EARTH
Szabolcs Nagy
szabolcs.nagy@arm.com
Thu Jul 2 09:17:00 GMT 2015
On 02/07/15 05:07, Shawn Landden wrote:
> If leap seconds are abolished for leap hours, as has been repeately proposed, and
> clocks remain in UTC, then the fact that the day is slightly shorter than 86400
> seconds will slowly accumulate. Over time this will make UTC undesirable for
> astronomical applications, such as sun-rise, sun-set, and solar noon.
the day is not shorter but longer (usually).
> diff --git a/timezone/leapseconds b/timezone/leapseconds
> index d6343c0..717a792 100644
> --- a/timezone/leapseconds
> +++ b/timezone/leapseconds
> @@ -48,6 +48,8 @@ Leap 1997 Jun 30 23:59:60 + S
> Leap 1998 Dec 31 23:59:60 + S
> Leap 2005 Dec 31 23:59:60 + S
> Leap 2008 Dec 31 23:59:60 + S
> +Leap 2012 Jun 30 23:59:60 + S
> +Leap 2015 Jun 30 23:59:60 + S
>
> # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
> #
this is independent of CLOCK_EARTH.
i think timezone/ should be updated according to
upstream tz data.
More information about the Libc-alpha
mailing list