Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= f.datetime_select :starts_at, :default => { :hour => 2.hours.from_now, :minute => 0 }, :order => [:day, :month, :year] %>
- no implicit conversion of ActiveSupport::TimeWithZone into Integer
- :hour => 2.hours.from_now.hour
- :hour => 2.hours.from_now.hour
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement