From c447bbbddb4ac8e1e9b7c35a15c09776d18501db Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Jul 2020 23:27:33 +0000 Subject: wwwatomstream: simplify feed_update callers We always return Z (UTC) times, anyways, so we'll always use gmtime() on the seconds-after-the-epoch. --- Documentation/mknews.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 965c30c1..ba049d9e 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -131,7 +131,7 @@ sub atom_start { delete $astream->{emit_header}; my $ibx = $ctx->{-inbox}; my $title = PublicInbox::WwwAtomStream::title_tag($ibx->description); - my $updated = PublicInbox::WwwAtomStream::feed_updated(gmtime($mtime)); + my $updated = PublicInbox::WwwAtomStream::feed_updated($mtime); print $out <