You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. The date format is correct elsewhere, but file-info was overlooked because it's been deprecated for years. The file-info namespace should now make use of ring.util.time.
weavejester
changed the title
Last-Modified date format wrong
Last-Modified date format wrong in file-info namespace
Jun 8, 2016
The date format in file_info.clj for static files: EEE, dd MMM yyyy HH:mm:ss ZZZ, is incorrect. ZZZ should be z. This makes an rfc 1123 standard date:
Wed, 08 Jun 2016 03:08:48 GMT
Also, set the timezone to GMT not UTC.
So the lines (in file_info.clj):
should become:
The text was updated successfully, but these errors were encountered: