luckyframework/avram

Add `Time::Span` for `interval` column

オープン

#841 opened on 2022/05/10

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Crystal (67 件のフォーク)auto 404
hacktoberfest

Repository metrics

Stars
 (180 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド