module Fog::Radosgw::Usage::Utils

Public Instance Methods

sanitize_and_convert_time(time) click to toggle source
# File lib/fog/radosgw/requests/usage/get_usage.rb, line 6
def sanitize_and_convert_time(time)
  fmt = '%Y-%m-%d %H:%M:%S'
  escape(time.strftime(fmt))
end