diff options
author | Jochen Topf <jochen@topf.org> | 2014-08-18 22:22:57 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-08-18 22:22:57 +0200 |
commit | 7437f074958c885c81f3e360ca4c00546f4ec53e (patch) | |
tree | 665cde46f91293603adefbdeed766037ccff159a /web/views | |
parent | eaae8b4713c1894be3a8aec112c0d6b5bbe955fa (diff) | |
download | taginfo-7437f074958c885c81f3e360ca4c00546f4ec53e.tar taginfo-7437f074958c885c81f3e360ca4c00546f4ec53e.tar.gz |
Handle undefined update_start/end dates.
Diffstat (limited to 'web/views')
-rw-r--r-- | web/views/sources.erb | 2 |
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=""/> <%= 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> |