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