]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Common.pm
Release pr0n v3.00.
[pr0n] / perl / Sesse / pr0n / Common.pm
index ab90961dc567a127236c5eae822c9e491c2d85c2..f98d16fe28dbba3e77719e61c7d94a520574e83e 100644 (file)
@@ -34,7 +34,7 @@ BEGIN {
                require Sesse::pr0n::Config_local;
        };
 
-       $VERSION     = "v3.00-pre";
+       $VERSION     = "v3.00";
        @ISA         = qw(Exporter);
        @EXPORT      = qw(&error &dberror);
        %EXPORT_TAGS = qw();
@@ -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 });
 }