Update duration.rb

Trying to get the nice format of seconds convert