{"id":19436412,"url":"https://github.com/beached/iso8601_parsing","last_synced_at":"2025-06-28T01:36:56.395Z","repository":{"id":149955349,"uuid":"127282879","full_name":"beached/iso8601_parsing","owner":"beached","description":"Parse ISO 8601 combined data time strings","archived":false,"fork":false,"pushed_at":"2022-04-15T19:43:28.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T06:46:42.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/beached.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":"2018-03-29T11:37:05.000Z","updated_at":"2022-05-03T04:32:36.000Z","dependencies_parsed_at":"2023-05-05T06:19:57.862Z","dependency_job_id":null,"html_url":"https://github.com/beached/iso8601_parsing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beached/iso8601_parsing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fiso8601_parsing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fiso8601_parsing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fiso8601_parsing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fiso8601_parsing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beached","download_url":"https://codeload.github.com/beached/iso8601_parsing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beached%2Fiso8601_parsing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262361663,"owners_count":23299085,"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":[],"created_at":"2024-11-10T15:11:00.590Z","updated_at":"2025-06-28T01:36:56.376Z","avatar_url":"https://github.com/beached.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ISO 8601 Parsing\n## Requirements\nBecause of the use of ```std::string_view``` the library requires C++ 17.\n\n## Build instructions\n* 1 - ``` ./make_deps.sh (requires bash based shell) ```\n* 2 - ``` mkdir build ```\n* 3 - ``` cd build ```\n* 4 - ``` cmake .. ```\n* 5 - ``` make ```\n\n## Testing\nFrom the build directory\n\n# Compare performance to a generic parser method using date::parse\n``` \n./benchmarks ./timestamps.txt ../javascipt_ts_test.txt\n``` \n# Simple verifications\n```\n./iso8601_test\n```\n\n# Library Interface\n``` C++\n#include \"iso8601_timestamps.h\"\n```\n\nGeneric ISO 8601 Timestamp parser.  Will throw ```invalid_iso8601_timestamp``` if the format is unrecognized.\n``` C++\nconstexpr std::chrono::time_point\u003cstd::chrono::system_clock, std::chrono::milliseconds\u003e \nparse_iso8601_timestamp( std::string_view timestamp_str );\n```\n\nRestricted Javascript flavor of ISO8601 timestamps parser.  Will throw ```invalid_javascript_timestamp``` if it doesn't adhere to the format used by Javascript.\n``` C++\nconstexpr std::chrono::time_point\u003cstd::chrono::system_clock, std::chrono::milliseconds\u003e \nparse_javascript_timestamp( std::string_view timestamp_str );\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeached%2Fiso8601_parsing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeached%2Fiso8601_parsing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeached%2Fiso8601_parsing/lists"}