lib/tmin/server.rb in tmin-0.2.0 vs lib/tmin/server.rb in tmin-0.2.1
- old
+ new
@@ -312,10 +312,10 @@
@date = @time[4].to_s.insert(6, '20')
#Array containing the number relating to the image number of default backgorunds.
@num = (1..39).to_a
- @expired = date_expired(@time[4])
+ @expired = date_expired(@date)
@parsed_time = Date.parse(@time[4]).strftime("%FT%T")
if @url.nil?