akosma/SwiftMoment
A time and calendar manipulation library for iOS 9+, macOS 10.11+, tvOS 9+, watchOS 2+ written in Swift 4. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4243
- days_rel: n/a
- days_push: 2780
- n_releases_24m: 0
Adoption not part of the score
1601 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SwiftMoment is a time and calendar manipulation library for iOS 9+, macOS 10.11+, tvOS 9+, and watchOS 2+, written in Swift and inspired by Moment.js. It simplifies parsing dates from strings, formatting dates, extracting date components, and working with durations and intervals.
Use cases
- parse dates from strings in swift
- format dates into readable strings on ios
- get day month year components from a date
- add or subtract durations from dates
- compare and manipulate time intervals in swift
- create dates from components like year month day hour
When to choose
- you want a Moment.js-like fluent date API in Swift
- you need date parsing and formatting across Apple platforms
- you prefer a lightweight pure-Swift date library over raw Foundation NSDateFormatter code
When to avoid
- you need a library with recent updates or Swift 5+ guarantees
- you only target Linux or non-Apple platforms
- you need timezone-heavy or calendar-system-rich functionality beyond basic manipulation
Facets
library · maturity maintenance
date-time parser sdk developer-tools mobile-development cross-platform moment-js-inspired calendar duration swift-package-manager cocoapods carthage ios macos swift watchos tvos
2 sources
- readme: https://github.com/akosma/SwiftMoment · fetched 2026-08-28 · 8e0e345d25d3
- homepage: http://akosma.github.io/SwiftMoment · fetched 2026-08-29 · ff3dd7b52ed1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| akosma/SwiftMoment | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="akosma/SwiftMoment")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem