summaryrefslogtreecommitdiffstats
path: root/postfix-listfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'postfix-listfiles-html.lsp')
-rw-r--r--postfix-listfiles-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix-listfiles-html.lsp b/postfix-listfiles-html.lsp
index d21b875..8549820 100644
--- a/postfix-listfiles-html.lsp
+++ b/postfix-listfiles-html.lsp
@@ -49,8 +49,8 @@ end %>
<% end %>
</td>
<td><%= html.html_escape(file.filename) %></td>
- <td><span class="hide"><%= html.html_escape(file.orig_size) %>b</span><%= html.html_escape(file.size) %></td>
- <td><%= html.html_escape(file.mtime) %></td>
+ <td><span class="hide"><%= html.html_escape(file.size or 0) %>b</span><%= format.formatfilesize(file.size) %></td>
+ <td><%= format.formattime(file.mtime) %></td>
</tr>
<% end %>
</tbody></table>