Skip to content

release: v0.5.9, moving dates and times from chrono to jiff - #52

Merged
HTMLGuyLLC merged 1 commit into
mainfrom
jiff-migration
Nov 18, 2026
Merged

HTMLGuyLLC merged 1 commit into
mainfrom
jiff-migration

Conversation

@HTMLGuyLLC

Copy link
Copy Markdown
Owner

What

  • Every date and time now uses jiff 0.2.38 (already in the dependency tree) instead of chrono, which is unmaintained (RUSTSEC-2026-0543). chrono and its deny.toml exception are gone.
  • New crates/sources/src/time.rs holds the shared helpers. Stored times and message keys keep chrono's exact text, so nothing is counted twice.
  • Fix: after From now on, choosing history from that same day now re-reads that day. It also uses the local day, not the UTC one. A new test covers it.
  • --since gives a plain error.
  • Version 0.5.9, CHANGELOG, THIRD_PARTY_NOTICES.

Checks

  • The helpers matched chrono on 200k random times in 5 time zones (a temporary test, removed with chrono).
  • 768 Rust tests pass in UTC, UTC+14 and Los Angeles. clippy, cargo-deny and gitleaks are clean.
  • On a copy of real data, the v0.5.8 CLI and this branch re-read all 1,915 files. All 13,368 rows match, and stats --json is byte-identical.

🤖 Generated with Claude Code

chrono is unmaintained. Times are still written exactly as chrono wrote
them, so stored values and message keys don't change. Also fixes From
now on followed by history from the same day, and a plainer --since error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HTMLGuyLLC
HTMLGuyLLC enabled auto-merge (squash) November 18, 2026 15:50
@HTMLGuyLLC
HTMLGuyLLC merged commit 0d2e45d into main Nov 18, 2026
19 checks passed
@HTMLGuyLLC
HTMLGuyLLC deleted the jiff-migration branch November 18, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant