<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Universal Time Date</title>
    <description>The latest articles on DEV Community by Universal Time Date (@universaltimedate).</description>
    <link>https://dev.to/universaltimedate</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4256759%2Fa3aa520b-43c7-45f5-9e46-ae2dc6e92bb4.png</url>
      <title>DEV Community: Universal Time Date</title>
      <link>https://dev.to/universaltimedate</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/universaltimedate"/>
    <language>en</language>
    <item>
      <title>Continuous UTC (May 20, 2027): What Ending Leap Seconds Changes for NTP, Linux, and POSIX</title>
      <dc:creator>Universal Time Date</dc:creator>
      <pubDate>Mon, 23 Nov 2026 09:15:44 +0000</pubDate>
      <link>https://dev.to/universaltimedate/continuous-utc-may-20-2027-what-ending-leap-seconds-changes-for-ntp-linux-and-posix-1hb</link>
      <guid>https://dev.to/universaltimedate/continuous-utc-may-20-2027-what-ending-leap-seconds-changes-for-ntp-linux-and-posix-1hb</guid>
      <description>&lt;p&gt;On &lt;strong&gt;May 20, 2027&lt;/strong&gt; (Unix timestamp &lt;code&gt;1810771200&lt;/code&gt;), Coordinated Universal Time officially becomes continuous. For backend engineers, SREs, and Linux maintainers, the headline sounds like pure relief—no more 61-second minutes, no more cross-vendor leap-smear drift, and no more midnight UTC war rooms.&lt;/p&gt;

&lt;p&gt;The reality is slightly sharper: &lt;strong&gt;May 20, 2027 won't break your stack, but June 28, 2027 might.&lt;/strong&gt; Here is what actually changed, which constants freeze, and the operational edge cases worth auditing now.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Oct 15, 2026: 28th CGPM Resolution 5 Pulls the Deadline Up 8 Years
&lt;/h2&gt;

&lt;p&gt;In 2022, metrologists set a ceiling to retire leap seconds by 2035. On &lt;strong&gt;October 15, 2026&lt;/strong&gt;, the 28th General Conference on Weights and Measures (CGPM) adopted &lt;strong&gt;Resolution 5&lt;/strong&gt;, moving the cutover forward by eight years to &lt;strong&gt;May 20, 2027&lt;/strong&gt; (World Metrology Day).&lt;/p&gt;

&lt;p&gt;Under the 1972 rule, UTC had to stay within &lt;code&gt;±0.9&lt;/code&gt; seconds of Earth-rotation time (&lt;code&gt;UT1&lt;/code&gt;), enforced by sporadic 1-second steps. Resolution 5 widens the permitted &lt;code&gt;|UT1 − UTC|&lt;/code&gt; tolerance to &lt;strong&gt;3,600 seconds (one hour)&lt;/strong&gt;. That keeps UTC loosely anchored to Earth's rotation while giving civil and digital systems centuries of uninterrupted operation.&lt;/p&gt;

&lt;p&gt;Why accelerate by eight years? Earth's rotation has sped up slightly in recent years, creating an estimated &lt;strong&gt;~30% risk of a first-ever negative leap second&lt;/strong&gt; (&lt;code&gt;23:59:58&lt;/code&gt; jumping straight to &lt;code&gt;00:00:00&lt;/code&gt;) before 2035. The industry survived 27 positive leap seconds—with memorable scars like the 2012 Linux futex livelock and 2017 negative-duration panics—but virtually zero production systems have ever run a deleted second live. Retiring leap seconds early shuts down an untested global failure mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. IERS Bulletin C 72: Offsets Freeze Permanently
&lt;/h2&gt;

&lt;p&gt;The last insertion window before continuous UTC has already closed. On &lt;strong&gt;July 6, 2026&lt;/strong&gt;, &lt;strong&gt;IERS Bulletin C 72&lt;/strong&gt; confirmed &lt;strong&gt;no leap second on December 31, 2026&lt;/strong&gt;. Because May 20, 2027 arrives before the June 30, 2027 slot, December 31, 2016 stands as the 27th and final leap second.&lt;/p&gt;

&lt;p&gt;Going forward, the inter-timescale offsets freeze:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Timescale Relationship&lt;/th&gt;
&lt;th&gt;Frozen Offset (Post-May 20, 2027)&lt;/th&gt;
&lt;th&gt;Engineering Note&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;TAI − UTC&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;+37 s&lt;/strong&gt; (&lt;code&gt;UTC − TAI = −37 s&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;10 s initial 1972 offset + 27 leap seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GPS − UTC&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;+18 s&lt;/strong&gt; (&lt;code&gt;UTC − GPS = −18 s&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;GPS epoch (1980) stays pinned 19 s behind TAI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Unix / POSIX&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;86,400 s / day&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matches future UTC without step hacks&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Two traps to avoid:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;UTC is still not TAI.&lt;/strong&gt; Relabeling UTC timestamps as TAI injects a permanent 37-second error.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never hardcode &lt;code&gt;37&lt;/code&gt; retroactively.&lt;/strong&gt; Pre-2017 timestamps still need the historical offset table active when those records were written.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. The June 28, 2027 &lt;code&gt;leap-seconds.list&lt;/code&gt; Expiration Trap
&lt;/h2&gt;

&lt;p&gt;The real operational date to circle is &lt;strong&gt;June 28, 2027&lt;/strong&gt;—39 days after continuous UTC begins.&lt;/p&gt;

&lt;p&gt;The public &lt;code&gt;leap-seconds.list&lt;/code&gt; file (distributed via &lt;code&gt;tzdata&lt;/code&gt; at &lt;code&gt;/usr/share/zoneinfo/leap-seconds.list&lt;/code&gt;) embeds an explicit expiry header—currently &lt;code&gt;#@ 4023129600&lt;/code&gt; (&lt;code&gt;2027-06-28T00:00:00Z&lt;/code&gt;)—sealed by a hash signature. That built-in shelf life creates quiet failure paths:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;ntpd&lt;/code&gt; and &lt;code&gt;chrony&lt;/code&gt;:&lt;/strong&gt; Daemons using &lt;code&gt;leapfile&lt;/code&gt; (&lt;code&gt;ntpd&lt;/code&gt;) or &lt;code&gt;leapseclist&lt;/code&gt; (&lt;code&gt;chrony&lt;/code&gt;) parse that expiry header. After June 28, 2027, &lt;code&gt;ntpd&lt;/code&gt; logs expiration warnings, strict monitoring checks asserting file freshness can page on-call, and quick fixes like deleting the &lt;code&gt;#@&lt;/code&gt; line break signature validation so the table fails to load.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embedded firmware, GNSS, and PTP gear:&lt;/strong&gt; Long-lived routers, industrial controllers, and air-gapped PTP grandmasters often ship with baked-in leap tables and rigid validity gates. An expired best-before date does not make the current offset unknown, yet unforgiving validation logic can refuse startup or drop TAI–UTC conversion state.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Audit your configs and container images before Q2 2027:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -rnE &lt;span class="s2"&gt;"leapfile|leapseclist|leapsectz|leap-seconds\.list|smoothtime"&lt;/span&gt; /etc/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep &lt;code&gt;tzdata&lt;/code&gt; refreshed in base images, test how your daemons and health checks behave past June 28, 2027, and inventory legacy leap-smear settings (&lt;code&gt;smoothtime&lt;/code&gt; or custom smear pools) for cleanup.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. POSIX 86,400-Second Days and Historical &lt;code&gt;:60&lt;/code&gt; Parsers
&lt;/h2&gt;

&lt;p&gt;Continuous UTC finally aligns civil time with &lt;strong&gt;POSIX &lt;code&gt;time_t&lt;/code&gt;&lt;/strong&gt;. By specification, POSIX treats every day as strictly &lt;strong&gt;86,400 seconds&lt;/strong&gt;, ignoring leap seconds entirely. Previously, OS kernels had to hide that discrepancy by stepping backward, repeating a second, or smearing time across hours. From May 20, 2027 onward, future UTC seconds advance cleanly alongside POSIX's 86,400-second invariant.&lt;/p&gt;

&lt;p&gt;Two engineering rules still apply:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Keep measuring durations on monotonic clocks.&lt;/strong&gt; Continuous UTC eliminates &lt;em&gt;leap-second&lt;/em&gt; steps, not all wall-clock jumps. NTP corrections at boot, resumed VM snapshots, and manual adjustments still move &lt;code&gt;CLOCK_REALTIME&lt;/code&gt;. Keep timeouts and latencies on &lt;code&gt;CLOCK_MONOTONIC&lt;/code&gt; (&lt;code&gt;time.monotonic()&lt;/code&gt;, &lt;code&gt;System.nanoTime()&lt;/code&gt;, or Go's monotonic &lt;code&gt;time.Time&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep &lt;code&gt;:60&lt;/code&gt; parseable forever.&lt;/strong&gt; Stop generating &lt;code&gt;23:59:60&lt;/code&gt;, but &lt;strong&gt;never strip parser support for it&lt;/strong&gt;. Twenty-seven historical leap seconds remain permanently embedded in logs, telemetry archives, and financial audit trails. Tightening regexes to &lt;code&gt;[0-5][0-9]&lt;/code&gt; breaks historical replays—or silently rolls &lt;code&gt;:60&lt;/code&gt; into &lt;code&gt;00:00:00&lt;/code&gt;. Keep a permanent unit-test fixture for &lt;code&gt;2016-12-31T23:59:60Z&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Further Reading &amp;amp; Tools:&lt;/strong&gt; Full engineering reference, checklist, and a live ticking UTC / TAI / GPS / Unix clock: &lt;a href="https://www.universaltimedate.com/articles/continuous-utc-2027" rel="noopener noreferrer"&gt;https://www.universaltimedate.com/articles/continuous-utc-2027&lt;/a&gt;. To inspect epoch boundaries like &lt;code&gt;1810771200&lt;/code&gt; (&lt;code&gt;2027-05-20T00:00:00Z&lt;/code&gt;) or verify POSIX conversions, try our &lt;a href="https://www.universaltimedate.com/unix-timestamp-converter" rel="noopener noreferrer"&gt;Unix Timestamp Converter&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>linux</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
