{"id":24830018,"url":"https://github.com/vacovsky/timewindow","last_synced_at":"2025-03-26T02:42:40.673Z","repository":{"id":57509651,"uuid":"131890918","full_name":"vacovsky/timewindow","owner":"vacovsky","description":"a little helper to check if the current time is between two other times","archived":false,"fork":false,"pushed_at":"2018-06-13T18:24:50.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T23:48:35.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/vacovsky.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":"2018-05-02T18:29:37.000Z","updated_at":"2019-05-03T05:50:37.000Z","dependencies_parsed_at":"2022-09-21T06:46:39.973Z","dependency_job_id":null,"html_url":"https://github.com/vacovsky/timewindow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vacovsky%2Ftimewindow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vacovsky%2Ftimewindow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vacovsky%2Ftimewindow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vacovsky%2Ftimewindow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vacovsky","download_url":"https://codeload.github.com/vacovsky/timewindow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579485,"owners_count":20638676,"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":"2025-01-30T23:48:38.174Z","updated_at":"2025-03-26T02:42:40.651Z","avatar_url":"https://github.com/vacovsky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timewindow\n\nA little module to do time comparisons for detecting if a Go time struct is between two other times of day.\n\n## the thing\n\nBetweenTimes(t, open, close time.Time) returns a boolean value indicating whether the `t` value is inside of the hours and minutes of the `open` window and the `close`.\n \nIf the open time comes after the close time, then the window spans midnight (example: window is open from 10PM until 2AM). However, if the open time come before the close time (2AM to 10PM), then it behaves intuitively.\n\nA return value of `true` means the submitted time is inside the window.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvacovsky%2Ftimewindow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvacovsky%2Ftimewindow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvacovsky%2Ftimewindow/lists"}