X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;h=2f3c5e95173f4b9c1f5464a842c57a667bcf4de9;hp=ab90961dc567a127236c5eae822c9e491c2d85c2;hb=872fc70512d24ca88b368a9c58269a283c804192;hpb=c53dd5ce79ebfdcf01c3847149611ebafcebdd69 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 }); }