1
0
Fork 0
forked from wezm/wezm.net
wezm.net/lib/helpers.rb

12 lines
142 B
Ruby
Raw Normal View History

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