%# RSS requires date/time in the 'C' locale as per RFC822. strftime() is one of %# the few things that actually cares about locale. % use POSIX qw( locale_h ); % my $current_locale = setlocale( LC_TIME ); % setlocale( LC_TIME, 'C' ); <%= $site->title %> <%= $site->url( $self->links( 'alternate' )->href ) %> Blog feed of <%= $site->title %> Statocles <%= $Statocles::VERSION %> % for my $p ( @$pages ) { <%== $p->title %> <%= $site->url( $p->path ) %> <%= $site->url( $p->path ) %> sections; <%= $sections[0] %> % if ( $p->links( 'crosspost' ) ) { % } % elsif ( $p->sections > 1 ) {

Continue reading...

% } % if ( $p->tags ) {

Tags: % for my $tag ( $p->tags ) { <%== $tag->text %> % }

% } ]]>
<%= $p->date->strftime('%a, %d %b %Y %H:%M:%S ') . sprintf q{%+05d}, $p->date->offset / 3600 %>
% }
% setlocale( LC_TIME, $current_locale );