{"adoption": {"forks": 141, "observed_at": "2026-08-28T04:05:09.607158+00:00", "stars": 1601}, "canonical_url": "https://ross.abutalabs.com/products/swiftmoment", "card": {"archived": true, "artifact_type": "library", "description": "A time and calendar manipulation library for  iOS 9+, macOS 10.11+, tvOS 9+, watchOS 2+ written in Swift 4.", "domain": ["developer-tools", "mobile-development", "cross-platform"], "enriched": true, "function": ["date-time", "parser", "sdk"], "health_score": 10, "homepage": "http://akosma.github.io/SwiftMoment", "language": "Swift", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["akosma/SwiftMoment"], "name": "akosma/SwiftMoment", "platform": [], "pushed_at": "2019-01-22T11:50:53+00:00", "repo": "akosma/SwiftMoment", "stars": 1601, "tags": ["moment-js-inspired", "calendar", "duration", "swift-package-manager", "cocoapods", "carthage", "ios", "macos", "swift", "watchos", "tvos"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swiftmoment", "repo": "akosma/SwiftMoment", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.607158+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:52:47.373084+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8e0e345d25d301525ecb34983ea303da888d17fa7720ae2dc564c682df644e93", "fetched_at": "2026-08-28T04:05:09.607158+00:00", "kind": "readme", "missing": false, "url": "https://github.com/akosma/SwiftMoment"}, {"content_hash": "ff3dd7b52ed13950f42b589c21772a17969d18a309f44ccaccd7a6e807fed21b", "fetched_at": "2026-08-29T11:24:15.569195+00:00", "kind": "homepage", "missing": false, "url": "http://akosma.github.io/SwiftMoment"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4243, "days_push": 2780, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}