Update task1.rb

Date -> Time