%# 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) %> Записи из <%= $site->title %> Statocles <%= $Statocles::VERSION %> % for my $p (@$pages) { <%= $p->title %> <%= $site->url($p->path) %> <%= $site->url($p->path) %> sections; <%= $sections[0] %>

Далее...

Теги: % for my $tag ($p->tags) { <%= $tag->text %> % }

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