{"id":22197025,"url":"https://github.com/tada-team/dateparse","last_synced_at":"2025-07-23T14:06:32.454Z","repository":{"id":49992499,"uuid":"272168649","full_name":"tada-team/dateparse","owner":"tada-team","description":"Переводит русский язык в time.Time. Часть таск-мессенджера https://tada.team","archived":false,"fork":false,"pushed_at":"2021-06-07T06:04:53.000Z","size":63,"stargazers_count":34,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T16:11:18.072Z","etag":null,"topics":["dateparse","datetime","go","go-date","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tada-team.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}},"created_at":"2020-06-14T09:14:41.000Z","updated_at":"2024-04-20T02:31:32.000Z","dependencies_parsed_at":"2022-09-05T09:31:44.965Z","dependency_job_id":null,"html_url":"https://github.com/tada-team/dateparse","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tada-team/dateparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tada-team%2Fdateparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tada-team%2Fdateparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tada-team%2Fdateparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tada-team%2Fdateparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tada-team","download_url":"https://codeload.github.com/tada-team/dateparse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tada-team%2Fdateparse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691580,"owners_count":23969182,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["dateparse","datetime","go","go-date","golang"],"created_at":"2024-12-02T14:18:07.829Z","updated_at":"2025-07-23T14:06:32.432Z","avatar_url":"https://github.com/tada-team.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Codecov coveragei build](https://github.com/tada-team/dateparse/actions/workflows/codecov.yml/badge.svg)](https://github.com/tada-team/dateparse/actions/workflows/codecov.yml) [![codecov](https://codecov.io/gh/tada-team/dateparse/branch/master/graph/badge.svg)](https://codecov.io/gh/tada-team/dateparse)\n# dateparse\n\nЛёгкий способ превратить пользовательский ввод даты во что-то машинопонятное.\n\nПользователи такие затейники, чего только не вводят, но мы пытаемся всё понять и простить:\n\n```go\npackage main \n\nimport (\n    \"time\"\n    \"github.com/tada-team/dateparse\"\n)\n\nfunc main() {\n    date, message := dateparse.Parse(\"в следующий понедельник утром посмотреть код\", nil)\n    if date.IsZero() {\n        panic(\"invalid date\")\n    }\n    print(\"at:\", date)\n    print(\"do:\", message)\n\n    loc, err := time.LoadLocation(\"Europe/Moscow\")\n    if err != nil {\n        panic(err)\n    } \n    date, _ = dateparse.Parse(\"завтра\", \u0026dateparse.Opts{\n        TodayEndHour: 20,\n        Now:          time.Now().In(loc),\n    })\n    print(date)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftada-team%2Fdateparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftada-team%2Fdateparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftada-team%2Fdateparse/lists"}