roadmap BUILT

1114. The calendar becomes jiff

The ruling of 2026-11-12 (UTC) under §46 (thin primitives or whole subsystems): nife does not write its own calendar. This milestone deletes crates/calendar, and every caller uses the third-party crate jiff 0.2 (Unlicense OR MIT) with its default features off. The ruling approves that dependency for these callers. The branch is milestone/1105-calendar-becomes-jiff.

Reuse: this milestone takes jiff 0.2. time 0.3 lost because it formats only with std. chrono 0.4 lost because it writes RFC 3339 into an allocated String. jiff formats and parses with neither std nor an allocator. Without its time-zone features it handles fixed offsets only, which is the scope nife keeps.

What is in force

Caller What it takes from jiff
date (components/src/date.rs) civil time from Unix seconds, and the weekday
the clock service (components/src/clock.rs) an RTC reading to Unix seconds
touch -t (components/src/swish/navigation.rs) the date and time of day of an RFC 3339 operand whose shape the program checked first
the timetable (crates/timetable/src/recurrence.rs) day numbers to civil dates and back, month lengths
the C library (vendor/relibc/header/time/mod.rs) gmtime and mktime
the guest tests (system_tests/src/user/date_tests.rs) date's output parsed back

What a user sees stays the same. A host harness outside the tree compared each caller with the removed crate:

The range stays years 0000 through 9999. The callers keep it through civil arithmetic from the epoch, because a jiff::Timestamp ends 26 hours before the end of 9999. touch -t refuses a leap second, and negative timestamps are ordinary. notes/calendar.md states the rule.

The crate's eleven Kani harnesses and eleven falsification patches leave with it. Nothing on the verification path needed them. §46's amendment of 2026-10-04 makes taking a crate the default outside the kernel and the crates Kani proves, and the calendar is neither.

BUGS

Follow-on

Index row

nife stops writing its own calendar: date, the clock service, touch -t, the timetable and the C library's gmtime and mktime use jiff with default features off, and what a user sees is byte-for-byte unchanged.