]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwAtomStream.pm
wwwatomstream: call gmtime with scalar
[public-inbox.git] / lib / PublicInbox / WwwAtomStream.pm
index f60251b7ef12c2779779e4e81bf9186689acca2e..5d32294eec159f58cb9b2ff7153f512c5d0d3b63 100644 (file)
@@ -161,7 +161,8 @@ sub feed_entry {
 }
 
 sub feed_updated {
-       '<updated>' . strftime('%Y-%m-%dT%H:%M:%SZ', gmtime(@_)) . '</updated>';
+       my ($t) = @_;
+       '<updated>' . strftime('%Y-%m-%dT%H:%M:%SZ', gmtime($t)) . '</updated>';
 }
 
 1;