{"id":18060714,"url":"https://github.com/0xleif/sec","last_synced_at":"2025-04-05T12:25:22.837Z","repository":{"id":83170910,"uuid":"363999691","full_name":"0xLeif/sec","owner":"0xLeif","description":"String to seconds","archived":false,"fork":false,"pushed_at":"2021-05-08T16:20:29.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T23:41:45.487Z","etag":null,"topics":["seconds","string","swift","time"],"latest_commit_sha":null,"homepage":"https://github.com/sindresorhus/sec","language":"Swift","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/0xLeif.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-03T16:55:13.000Z","updated_at":"2021-05-08T23:33:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a83d0185-18c4-47b3-9346-099f809644b6","html_url":"https://github.com/0xLeif/sec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2Fsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2Fsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2Fsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2Fsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xLeif","download_url":"https://codeload.github.com/0xLeif/sec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247334777,"owners_count":20922289,"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":["seconds","string","swift","time"],"created_at":"2024-10-31T04:10:18.534Z","updated_at":"2025-04-05T12:25:22.819Z","avatar_url":"https://github.com/0xLeif.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sec\n\n*String to seconds*\n\n**(Swift version of [sec](https://github.com/sindresorhus/sec))**\n\n\n## Example\n\n```swift\nXCTAssertEqual(\"00:00:05\".toSeconds, 5)\nXCTAssertEqual(\"00:01:00\".toSeconds, 60)\nXCTAssertEqual(\"01:01:01\".toSeconds, 3661)\nXCTAssertEqual(\"01:00\".toSeconds, 60)\nXCTAssertEqual(\"01\".toSeconds, 1)\nXCTAssertEqual(\"1\".toSeconds, 1)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xleif%2Fsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fsec/lists"}