Files
old-rijeci/app/models/concerns/formatable.rb

10 lines
164 B
Ruby
Raw Normal View History

2013-12-09 03:23:49 +01:00
module Formatable
extend ActiveSupport::Concern
def created_at_formatted
created_at.in_time_zone("Europe/Sarajevo").strftime("%d.%m.%Y %H:%M")
end
end