Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ApplicationController < ActionController::Base
- ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!(
- :basic => "%m/%d/%Y",
- :date_time12 => "%m/%d/%Y %I:%M %p",
- :date_time24 => "%m/%d/%Y %H:%M"
- )
Add Comment
Please, Sign In to add comment