maeshimaの日記

メモ書きです

railsがTimeに追加してる便利メソッド

ActiveSupport::TimeWithZoneに追加されてる。

  • today?
  • past?
  • future?
  • between?