Lines 28-34
use C4::Output;
Link Here
|
28 |
use C4::Circulation; |
28 |
use C4::Circulation; |
29 |
use C4::Review; |
29 |
use C4::Review; |
30 |
use C4::Biblio; |
30 |
use C4::Biblio; |
31 |
use C4::Dates; |
|
|
32 |
use C4::Members qw/GetMemberDetails/; |
31 |
use C4::Members qw/GetMemberDetails/; |
33 |
use POSIX qw(ceil strftime); |
32 |
use POSIX qw(ceil strftime); |
34 |
|
33 |
|
Lines 57-67
my ( $template, $borrowernumber, $cookie ) = &get_template_and_user(
Link Here
|
57 |
); |
56 |
); |
58 |
|
57 |
|
59 |
if($format eq "rss"){ |
58 |
if($format eq "rss"){ |
60 |
my $lastbuilddate = C4::Dates->new(); |
|
|
61 |
my $lastbuilddate_output = $lastbuilddate->output("rfc822"); |
62 |
$template->param( |
59 |
$template->param( |
63 |
rss => 1, |
60 |
rss => 1, |
64 |
timestamp => $lastbuilddate_output |
61 |
timestamp => strftime("%Y-%m-%dT%H:%M:%S-00:00", gmtime), |
65 |
); |
62 |
); |
66 |
} |
63 |
} |
67 |
|
64 |
|
Lines 114-122
for my $result (@$reviews){
Link Here
|
114 |
} |
111 |
} |
115 |
|
112 |
|
116 |
if($format eq "rss"){ |
113 |
if($format eq "rss"){ |
117 |
my $rsstimestamp = C4::Dates->new($result->{datereviewed},"iso"); |
114 |
$result->{timestamp} = strftime("%Y-%m-%dT%H:%M:%S-00:00", gmtime); |
118 |
my $rsstimestamp_output = $rsstimestamp->output("rfc822"); |
|
|
119 |
$result->{timestamp} = $rsstimestamp_output; |
120 |
} |
115 |
} |
121 |
} |
116 |
} |
122 |
## Build the page numbers on the bottom of the page |
117 |
## Build the page numbers on the bottom of the page |
123 |
- |
|
|