From murdoch.duncan at gmail.com  Wed Jul  1 12:54:20 2015
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 01 Jul 2015 12:54:20 +0200
Subject: [Rd] additional leap second
In-Reply-To: <5593A13B.9080505@stats.ox.ac.uk>
References: <CAJqeyYamjze6vRrxCPJrpAq5kpp2L7TjOUc8r002jWathvgyCg@mail.gmail.com>
	<5593A13B.9080505@stats.ox.ac.uk>
Message-ID: <5593C6DC.4090609@gmail.com>

On 01/07/2015 10:13 AM, Prof Brian Ripley wrote:
> Thanks, I was working on this.
> 
> There are other changes needed in src/main/datetime.c and ?.leap.seconds 
> which I will commit shortly, and the example in hist.POSIXt() needed 
> alteration (it seems DJM did not run 'make check'!).

That's true.  Sometimes simple changes aren't so simple.

Duncan Murdoch

> 
> 
> On 01/07/2015 06:20, Ei-ji Nakama wrote:
>> hi,
>>
>> Index: leap_second/src/library/base/R/zdatetime.R
>> ===================================================================
>> --- leap_second/src/library/base/R/zdatetime.R    (revision 68608)
>> +++ leap_second/src/library/base/R/zdatetime.R    (working copy)
>> @@ -24,7 +24,8 @@
>>             "1979-12-31", "1981-6-30", "1982-6-30", "1983-6-30",
>>             "1985-6-30", "1987-12-31", "1989-12-31", "1990-12-31",
>>             "1992-6-30", "1993-6-30", "1994-6-30","1995-12-31",
>> -          "1997-6-30", "1998-12-31", "2005-12-31", "2008-12-31", "2012-6-30")
>> +          "1997-6-30", "1998-12-31", "2005-12-31", "2008-12-31",
>> +          "2012-6-30", "2015-6-30")
>>       .leap.seconds <- strptime(paste(.leap.seconds , "23:59:60"),
>>                                 "%Y-%m-%d %H:%M:%S")
>>       c(as.POSIXct(.leap.seconds, "GMT")) # lose the timezone
>>
>> Best Regards,
>> --
>> Eiji NAKAMA <nakama (a) ki.rim.or.jp>
>> "\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
> 
>



[Rd] additional leap second
Duncan Murdoch