distance_of_time_in_words (::Utils)

    # File lib/rbot/core/utils/utils.rb, line 263
      def Utils.distance_of_time_in_words(minutes)
        case
          when minutes < 1
            _("less than a minute")
          when minutes < 50
            _("%{m} minutes") % {:m => minutes}
          when minutes < 90
            _("about one hour")
          when minutes < 1080
            _("%{m} hours") % {:m => (minutes / 60).round}
          when minutes < 1440
            _("one day")
          when minutes < 2880
            _("about one day")
          else
            _("%{m} days") % {:m => (minutes / 1440).round}
        end
      end