Displaying 2 results from an estimated 2 matches for "have_posix_leapseconds".
2015 Jul 01
1
additional leap second
sorry, i didnt watch src/main/datetime.c ...
Index: leap_second/src/main/datetime.c
===================================================================
--- leap_second/src/main/datetime.c (????? 68608)
+++ leap_second/src/main/datetime.c (?????)
@@ -303,14 +303,15 @@
}
#ifndef HAVE_POSIX_LEAPSECONDS
-/* There have been 25 leapseconds: see .leap.seconds in R
+/* There have been many leapseconds: see .leap.seconds in R
+ * (as.Date(.leap.seconds)-as.Date("1970-01-01"))*86400
*/
-static int n_leapseconds = 25;
static const time_t leapseconds[] =
{ 78796800, 94694400,126230400,15776...
2015 Jul 01
5
additional leap second
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",