Discussion:
[Linuxptp-devel] [PATCH] Update TAI-UTC offset
Miroslav Lichvar
2017-01-05 09:15:53 UTC
Permalink
A leap second was applied to UTC on 2016-12-31 and the offset between
TAI and UTC is now 37 seconds.

Signed-off-by: Miroslav Lichvar <***@redhat.com>
---
ds.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ds.h b/ds.h
index b36862d..0e48d05 100644
--- a/ds.h
+++ b/ds.h
@@ -84,7 +84,7 @@ struct parent_ds {
unsigned int path_length;
};

-#define CURRENT_UTC_OFFSET 36 /* 1 Jul 2015 */
+#define CURRENT_UTC_OFFSET 37 /* 1 Jan 2017 */
#define INTERNAL_OSCILLATOR 0xA0

struct timePropertiesDS {
--
2.9.3
Richard Cochran
2017-01-08 20:34:11 UTC
Permalink
Post by Miroslav Lichvar
A leap second was applied to UTC on 2016-12-31 and the offset between
TAI and UTC is now 37 seconds.
Applied.

Thanks,
Richard

Loading...