# File lib/visage-app/collectd/json.rb, line 64
      def parse_time(time, opts={})
        case
        when time && time.index('.')
          time.split('.').first.to_i
        when time
          time.to_i
        else
         opts[:default] || Time.now.to_i
        end
      end