]> Sergey Matveev's repositories - public-inbox.git/commitdiff
feed: capitalize "Atom" consistently
authorEric Wong <e@80x24.org>
Wed, 18 Nov 2015 21:18:41 +0000 (21:18 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 Nov 2015 21:18:41 +0000 (21:18 +0000)
This is the official name of the spec, so refer to it
as such despite the file extension being lower-cased

lib/PublicInbox/Feed.pm

index 85c598e56c20ae94d71e4f85955f462f0ce2385a..e66b678bf062637aae69851c1d03af86ceb8fe74 100644 (file)
@@ -12,7 +12,7 @@ use PublicInbox::View;
 use PublicInbox::MID qw/mid_clean mid2path/;
 use POSIX qw/strftime/;
 use constant {
-       DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # atom standard
+       DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # Atom standard
        MAX_PER_PAGE => 25, # this needs to be tunable
 };
 
@@ -194,7 +194,7 @@ sub nav_footer {
                $head = $cgi->path_info;
                $head = qq!<a\nhref="$head">head</a>!;
        }
-       my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">atom</a>";
+       my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">Atom</a>";
        "<a\nname=\"s$anchor\">page:</a> $next $head $atom";
 }