{"id":20350654,"url":"https://github.com/mwhitworth/relative_datetime","last_synced_at":"2026-05-31T22:31:55.403Z","repository":{"id":209632260,"uuid":"724582487","full_name":"mwhitworth/relative_datetime","owner":"mwhitworth","description":"Relative datetime parser for Elixir","archived":false,"fork":false,"pushed_at":"2024-02-08T14:49:37.000Z","size":39,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T01:08:29.939Z","etag":null,"topics":["datetime","elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwhitworth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-28T11:28:48.000Z","updated_at":"2024-11-04T21:20:21.000Z","dependencies_parsed_at":"2023-12-06T21:30:56.225Z","dependency_job_id":"91c723ba-6bcb-4813-8466-398c4a58e144","html_url":"https://github.com/mwhitworth/relative_datetime","commit_stats":null,"previous_names":["mwhitworth/relative_datetime"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mwhitworth/relative_datetime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwhitworth%2Frelative_datetime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwhitworth%2Frelative_datetime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwhitworth%2Frelative_datetime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwhitworth%2Frelative_datetime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwhitworth","download_url":"https://codeload.github.com/mwhitworth/relative_datetime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwhitworth%2Frelative_datetime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33752286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datetime","elixir"],"created_at":"2024-11-14T22:32:56.528Z","updated_at":"2026-05-31T22:31:55.387Z","avatar_url":"https://github.com/mwhitworth.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RelativeDateTime\n\nParses relative datetimes, given an input string and datetime:\n\n```elixir\niex\u003e {:ok, datetime} = RelativeDateTime.parse(\"3 days ago\", ~U[2018-01-01 00:00:00Z])\n{:ok, ~U[2018-12-29 00:00:00Z]}\n```\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `relative_datetime` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:relative_datetime, \"~\u003e 0.0.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at \u003chttps://hexdocs.pm/relative_datetime\u003e.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwhitworth%2Frelative_datetime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwhitworth%2Frelative_datetime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwhitworth%2Frelative_datetime/lists"}