# File lib/ruote/util/time.rb, line 66
  def self.s_to_at (s)

    at = if s.index(' ')
      #
      # date

      Rufus.to_ruby_time(s)# rescue nil

    else
      #
      # duration

      Time.now.utc.to_f + Rufus.parse_time_string(s)
    end

    case at
      when DateTime then at.to_time.utc
      when Float then Time.at(at).utc
      else at
    end
  end