{"id":22348773,"url":"https://github.com/svycal/cldr_time_zone_names","last_synced_at":"2025-10-12T01:13:50.566Z","repository":{"id":58663929,"uuid":"527296939","full_name":"svycal/cldr_time_zone_names","owner":"svycal","description":"An Elixir CLDR backend that packages time zone name definitions","archived":false,"fork":false,"pushed_at":"2023-06-30T14:30:12.000Z","size":27,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-30T06:45:35.137Z","etag":null,"topics":["cldr","elixir"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ex_cldr_time_zone_names","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svycal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2022-08-21T18:45:03.000Z","updated_at":"2025-02-17T01:02:12.000Z","dependencies_parsed_at":"2025-07-30T06:31:17.159Z","dependency_job_id":"3e5e9ae2-c251-4dc5-9029-b76b86a59387","html_url":"https://github.com/svycal/cldr_time_zone_names","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/svycal/cldr_time_zone_names","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fcldr_time_zone_names","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fcldr_time_zone_names/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fcldr_time_zone_names/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fcldr_time_zone_names/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svycal","download_url":"https://codeload.github.com/svycal/cldr_time_zone_names/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fcldr_time_zone_names/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009731,"owners_count":26084645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":["cldr","elixir"],"created_at":"2024-12-04T11:06:26.785Z","updated_at":"2025-10-12T01:13:50.533Z","avatar_url":"https://github.com/svycal.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cldr Time Zone Names [![Hex Docs](https://img.shields.io/hexpm/v/ex_cldr_time_zone_names)](https://hexdocs.pm/ex_cldr_time_zone_names/readme.html)\n\nA plugin for [ex_cldr](https://hex.pm/packages/ex_cldr) that packages time zone name definitions.\n\n## Installation\n\nAdd `ex_cldr_time_zone_names` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_cldr_time_zone_names, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nThen, add the plugin to your [CLDR backend](https://hexdocs.pm/ex_cldr/readme.html#backend-module-configuration):\n\n```elixir\ndefmodule MyApp.Cldr do\n  use Cldr,\n    providers: [\n      Cldr.TimeZoneName,\n      # ...\n    ],\n    # ...\nend\n```\n\n## Usage\n\nThis plugin provides functions for looking up time zone name data for a given IANA time zone name and [meta zone name](https://github.com/unicode-org/cldr/blob/4667907abd60081c29f0b110623efc4ec545d844/common/supplemental/metaZones.xml) (e.g. `America_Central`).\n\n```elixir\n# Look up the name information for US Central Time in English\niex\u003e MyApp.Cldr.TimeZoneName.resolve(\"America/Chicago\", \"america_central\", locale: :en)\n{:ok,\n %Cldr.TimeZoneName.Info{\n   exemplar_city: \"Chicago\",\n   long: %Cldr.TimeZoneName.Variants{\n     daylight: \"Central Daylight Time\",\n     generic: \"Central Time\",\n     standard: \"Central Standard Time\"\n   },\n   short: %Cldr.TimeZoneName.Variants{\n     daylight: \"CDT\",\n     generic: \"CT\",\n     standard: \"CST\"\n   }\n }}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvycal%2Fcldr_time_zone_names","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvycal%2Fcldr_time_zone_names","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvycal%2Fcldr_time_zone_names/lists"}