wezm.net/lib/helpers.rb

12 lines
136 B
Ruby
Raw Normal View History

require 'time'
module WezM
module Helpers
def self.post_date(article)
Time.parse(article[:created_at])
end
end
end