Found there was a Rack::Utils method to use for the date format.
Update changes.