luckyframework / luckyframework/avram
Add `Time::Span` for `interval` column
Open
hacktoberfest
- Dominant language
- Crystal
- Stars
- 183
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
in postgres, you can do this
```
# select interval '1 hour';
interval
----------
01:00:00
(1 row)
```
and in Crystal `1.hour` gives you `01:00:00`.
Contributor guide
Research direction
No files or tests are named. Start by locating Avram's PostgreSQL column-type handling and the existing time-related mappings; then determine how an interval column should map to Crystal's Time::Span. Done means interval columns are supported consistently and covered by tests for reading and writing values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal, postgresql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100