X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;h=2f3c5e95173f4b9c1f5464a842c57a667bcf4de9;hp=ab90961dc567a127236c5eae822c9e491c2d85c2;hb=25da24661e8b79a9c5c6f32af3e3ca949e2943a0;hpb=b1d9d41ab12d664d6fb97d86963a94dbda63e60a;ds=sidebyside diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index ab90961..2f3c5e9 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -1026,7 +1026,7 @@ sub get_all_cache_urls { sub set_last_modified { my ($res, $mtime) = @_; - my $str = POSIX::strftime("%a, %d %b %Y %H:%M:%S %Z", localtime($mtime)); + my $str = POSIX::strftime("%a, %d %b %Y %H:%M:%S GMT", gmtime($mtime)); $res->headers({ 'Last-Modified' => $str }); }