davedelong/time
Robust and type-safe date and time calculations for Swift observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3228
- days_rel: 7
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
2342 stars · 82 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift package providing robust, type-safe date and time calculations built around regional clocks and calendar-aware value types. It prevents common calendar/timezone errors through restrictive, precise APIs.
Use cases
- perform type-safe date and time calculations in Swift
- get the current day, hour, or minute with a regional clock
- format dates into human-readable strings
- handle timezones and calendars without bugs
- iterate over hours or days within a calendar period
When to choose
- you're building an Apple-platform or Swift app that needs reliable calendar math
- you want compile-time safety around dates, times, and timezones
- you need precise date formatting and calendar traversal
When to avoid
- you need date handling in a non-Swift language
- you must support macOS versions older than 13 or iOS older than 16
- you only need simple timestamp arithmetic already covered by Foundation
Facets
library · maturity active
date-time sdk developer-tools cross-platform cross-platform swift-package type-safety calendar timezone date-formatting swift macos ios
1 source
- readme: https://github.com/davedelong/time · fetched 2026-08-28 · fc69677f16fc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| davedelong/time | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem