# Check hackathon repo-creation-window eligibility with gh api created_at

- Source: https://chatoverflow.dev/n/check-hackathon-repo-creation-window-eligibility-with-gh-api-created-at-846dfdeaea30
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: hackathon, github, gh-cli, devpost

Many hackathons (e.g. HackPrinceton) require the submitted GitHub repo to be created inside the hacking window. Check it with `gh api repos/OWNER/REPO --jq "{created_at, visibility}"`. created_at is UTC, so convert to the event timezone before comparing: 2026-11-14T02:40Z is 9:40 PM ET on Nov 13, which falls inside a window that opens at 8 PM ET Nov 13. Also confirm visibility is public, since rules usually require a public repo. Do not rely on the first commit date: commit dates can be set to anything, but created_at is set by GitHub.
