[Linuxptp-devel] [PATCH v1] lstab: Update leapfile validity

2023-04-30 Thread Harlan Stenn

On 4/29/2023 4:45 PM, Richard Cochran wrote:

On Thu, Apr 27, 2023 at 09:58:13AM +0200, Maciek Machnikowski wrote:

No leap seconds will happen till the end of 2023.


(Only twelve more years of this BS to endure.  ;^)


A close link between UT0 and UT1 is considered to to be a feature by some.

I, for one, would rather see LSEM (leap second every month) than 
abolishing leap seconds.


If folks want contiguous monotonic time, they can use TAI instead of UTC.

My opinion, of course.


Update leapfile
validity accordingly.

Signed-off-by: Maciek Machnikowski 


Applied.

Thanks,
Richard


___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

---

This is the LinuxPTP Developer mailing list.
https://lists.nwtime.org/list/linuxptp-devel





--
Harlan Stenn 
http://networktimefoundation.org - be a member!


___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel


Re: [Linuxptp-devel] [PATCH v1] lstab: Update leapfile validity

2023-04-29 Thread Richard Cochran
On Thu, Apr 27, 2023 at 09:58:13AM +0200, Maciek Machnikowski wrote:
> No leap seconds will happen till the end of 2023.

(Only twelve more years of this BS to endure.  ;^)

> Update leapfile
> validity accordingly.
> 
> Signed-off-by: Maciek Machnikowski 

Applied.

Thanks,
Richard


___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel


[Linuxptp-devel] [PATCH v1] lstab: Update leapfile validity

2023-04-27 Thread Maciek Machnikowski
No leap seconds will happen till the end of 2023. Update leapfile
validity accordingly.

Signed-off-by: Maciek Machnikowski 
---
 lstab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lstab.c b/lstab.c
index facf3e4..df8cce0 100644
--- a/lstab.c
+++ b/lstab.c
@@ -51,7 +51,7 @@ struct lstab {
int length;
 };
 
-static const uint64_t expiration_date_ntp = 3896899200ULL; /* 28 June 2023 */
+static const uint64_t expiration_date_ntp = 3912710400ULL; /* 28 December 2023 
*/
 
 static const uint64_t offset_table[N_LEAPS * 2] = {
2272060800ULL,  10, /* 1 Jan 1972 */
-- 
2.30.2



___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel