{"id":15713625,"url":"https://github.com/skull-squadron/tai","last_synced_at":"2025-03-30T18:47:06.706Z","repository":{"id":159617711,"uuid":"634742172","full_name":"skull-squadron/tai","owner":"skull-squadron","description":"TAI time library for Crystal with leap-second corrections","archived":false,"fork":false,"pushed_at":"2023-05-01T05:53:05.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T21:26:42.179Z","etag":null,"topics":["crystal","crystal-lang","crystal-language","date","iso8601","tai","tai64","tai64n","time"],"latest_commit_sha":null,"homepage":"https://steakknife.github.io/tai/","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skull-squadron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-01T04:11:11.000Z","updated_at":"2023-05-01T05:57:48.000Z","dependencies_parsed_at":"2023-11-20T09:36:40.657Z","dependency_job_id":null,"html_url":"https://github.com/skull-squadron/tai","commit_stats":null,"previous_names":["skull-squadron/tai"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skull-squadron%2Ftai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skull-squadron%2Ftai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skull-squadron%2Ftai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skull-squadron%2Ftai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skull-squadron","download_url":"https://codeload.github.com/skull-squadron/tai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365639,"owners_count":20765546,"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","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":["crystal","crystal-lang","crystal-language","date","iso8601","tai","tai64","tai64n","time"],"created_at":"2024-10-03T21:32:32.473Z","updated_at":"2025-03-30T18:47:06.311Z","avatar_url":"https://github.com/skull-squadron.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"![tag](https://img.shields.io/github/v/tag/steakknife/tai)\n![license](https://img.shields.io/github/license/steakknife/tai)\n![issues](https://img.shields.io/github/issues/steakknife/tai)\n![build](https://img.shields.io/github/actions/workflow/status/steakknife/tai/crystal.yml)\n\n# TAI for Crystal\n\n## Purpose\n\nMonotonic time that never needs leapseconds\n\n## Usage\n\n### Time To TAI64\n\n`your_time.to_tai64`\n\n### Time To TAI64N\n\n`your_time.to_tai64n`\n\n### TAI64N to Time\n\n`your_tai64n.to_time`\n\n### TAI64NA to Time\n\n`your_tai64na.to_time`\n\n### Live self-update (non-persistent) of leapsecond data\n\n`Time.tai_update_leap_sec_tables!`\n`Time.tai_update_leap_sec_tables!(\"https://your.server/path/here\")`\n\n## Installation\n\nAdd to `shard.yml`\n\n```yaml\ndependencies:\n  tai:\n    github: steakknife/tai\n    version: ~\u003e 0.1.0\n```\n\n## [Documentation](https://steakknife.github.io/tai/)\n\n### Local documentation\n\n```\nmake doc # creates ./docs\n```\n\n## Test\n\n```\ngit clone https://github.com/steakknife/tai\ncd tai\nmake check\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskull-squadron%2Ftai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskull-squadron%2Ftai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskull-squadron%2Ftai/lists"}