mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-14 11:28:02 +00:00
12 lines
136 B
Ruby
12 lines
136 B
Ruby
|
require 'time'
|
||
|
|
||
|
module WezM
|
||
|
module Helpers
|
||
|
|
||
|
def self.post_date(article)
|
||
|
Time.parse(article[:created_at])
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|