1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2024-12-25 21:49:53 +00:00
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