# File lib/livejournal/request.rb, line 42 def self.ljtime_to_time str dt = DateTime.strptime(str, '%Y-%m-%d %H:%M') Time.gm(dt.year, dt.mon, dt.day, dt.hour, dt.min, 0, 0) end