mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 09:52:32 +00:00
11 lines
142 B
Ruby
11 lines
142 B
Ruby
require 'time'
|
|
|
|
module WezM
|
|
module Helpers
|
|
|
|
def self.parse_post_date(article)
|
|
Time.parse(article[:created_at])
|
|
end
|
|
|
|
end
|
|
end
|