module CanvasDataClient::Helpers::TimeHelper

Public Instance Methods

rfc7231(time) click to toggle source
# File lib/canvas_data_client/helpers/time_helper.rb, line 3
def rfc7231(time)
  time.utc.strftime('%a, %d %b %Y %H:%M:%S GMT')
end