Fix bug.
This commit is contained in:
parent
d78aab6408
commit
5fa2811cbe
|
@ -85,7 +85,7 @@ class PHire
|
||||||
end
|
end
|
||||||
events
|
events
|
||||||
end
|
end
|
||||||
def convert_datetime(time)
|
def self.convert_datetime(time)
|
||||||
if time.class == Time
|
if time.class == Time
|
||||||
return time.to_datetime
|
return time.to_datetime
|
||||||
elsif time.class == DateTime
|
elsif time.class == DateTime
|
||||||
|
|
Loading…
Reference in New Issue