osem-fcy/config/initializers/time_formats.rb

1 line
59 B
Ruby

Time::DATE_FORMATS[:db_without_seconds] = '%Y-%m-%d %H:%M'