diff -r e408da1419cd -r 0ebef32c34af templates/index.atom.ep
--- a/templates/index.atom.ep Sun Sep 27 22:45:40 2015 +0200
+++ b/templates/index.atom.ep Wed Nov 04 17:43:00 2015 +0100
@@ -4,22 +4,22 @@
Recent Crashs
- <%= @$files[0]->{date}->strftime("%FT%TZ") =%>
+ <%= date_with_tz_from_db_utc(@$crashs[0]->{crash_time}) =%>
-% foreach my $file(@$files) {
+% foreach my $crash(@$crashs) {
- tag:crash,2014:uuid::<%= $file->{uuid} =%>
-
- <%= $file->{product} =%>: <%= $file->{signature} =%>
- <%= $file->{date}->strftime("%FT%TZ") =%>
- <%= $file->{date}->strftime("%FT%TZ") =%>
+ tag:crash,2014:uuid::<%= $crash->{uuid} =%>
+
+ <%= $crash->{p_name} =%> <%= $crash->{p_version} =%>: <%= $crash->{uuid} =%>
+ <%= date_with_tz_from_db_utc($crash->{crash_time}) =%>
+ <%= date_with_tz_from_db_utc($crash->{crash_time}) =%>
%= xml_escape_block begin
- %= t h3 => $file->{date}->strftime("%F %T")
- %= t h3 => $file->{product} . " version " . $file->{version}
+ %= t h3 => date_from_db_utc($crash->{crash_time})
+ %= t h3 => $crash->{p_name} . " version " . $crash->{p_version}
% end