aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-08-18 22:22:57 +0200
committerJochen Topf <jochen@topf.org>2014-08-18 22:22:57 +0200
commit7437f074958c885c81f3e360ca4c00546f4ec53e (patch)
tree665cde46f91293603adefbdeed766037ccff159a /web/views
parenteaae8b4713c1894be3a8aec112c0d6b5bbe955fa (diff)
downloadtaginfo-7437f074958c885c81f3e360ca4c00546f4ec53e.tar
taginfo-7437f074958c885c81f3e360ca4c00546f4ec53e.tar.gz
Handle undefined update_start/end dates.
Diffstat (limited to 'web/views')
-rw-r--r--web/views/sources.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/views/sources.erb b/web/views/sources.erb
index 4186d22..a08a864 100644
--- a/web/views/sources.erb
+++ b/web/views/sources.erb
@@ -28,7 +28,7 @@
<tr>
<td class="<%= c %>"><img src="<%= source.imgurl(16) %>" width="16" height="16" alt=""/>&nbsp;&nbsp;<%= h(source.name) %>
<td class="tc<%= c %> nowrap"><%= h(source.data_until) %> UTC</td>
- <td class="tc<%= c %> nowrap"><%= h(source.update_start + ' ' + t.pages.sources.to + ' ' + source.update_end) %> UTC</td>
+ <td class="tc<%= c %> nowrap"><%= h(source.update_start.to_s + ' ' + t.pages.sources.to + ' ' + source.update_end.to_s) %> UTC</td>
</tr>
<% end %>
</table>