diff --git a/src/Middleware/GlideMiddleware.php b/src/Middleware/GlideMiddleware.php index 5f3adba..4a951af 100644 --- a/src/Middleware/GlideMiddleware.php +++ b/src/Middleware/GlideMiddleware.php @@ -315,9 +315,9 @@ protected function _withCacheHeaders($response, $cacheTime, $modifiedTime) return $response ->withHeader('Cache-Control', 'public,max-age=' . $maxAge) - ->withHeader('Date', gmdate('D, j M Y G:i:s \G\M\T', time())) - ->withHeader('Last-Modified', gmdate('D, j M Y G:i:s \G\M\T', (int)$modifiedTime)) - ->withHeader('Expires', gmdate('D, j M Y G:i:s \G\M\T', $expire)); + ->withHeader('Date', gmdate('D, j M Y H:i:s \G\M\T', time())) + ->withHeader('Last-Modified', gmdate('D, j M Y H:i:s \G\M\T', (int)$modifiedTime)) + ->withHeader('Expires', gmdate('D, j M Y H:i:s \G\M\T', $expire)); } /**