This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] time/time.h: CLOCK_EARTH
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: Shawn Landden <shawn at churchofgit dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 02 Jul 2015 10:16:59 +0100
- Subject: Re: [PATCH] time/time.h: CLOCK_EARTH
- Authentication-results: sourceware.org; auth=none
- References: <1435810066-106004-1-git-send-email-shawn at churchofgit dot com>
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.