This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] time/time.h: CLOCK_EARTH


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]