diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-12-30 14:06:15 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-12-30 14:06:15 +0000 |
commit | e8b11b2050444485ba7e24fa67ad5bdf179dab44 (patch) | |
tree | ae3914aace83eca98de5ed2ce52cf2f15c363c1c /postfix-listfiles-html.lsp | |
parent | d6ca5b5706b39bc73c0d42449ac32ccc98136263 (diff) | |
download | acf-postfix-e8b11b2050444485ba7e24fa67ad5bdf179dab44.tar.bz2 acf-postfix-e8b11b2050444485ba7e24fa67ad5bdf179dab44.tar.xz |
Change listfiles filesize to size, size and mtime not user-friendly, use posix.stat over fs.stat, use new format functions
Diffstat (limited to 'postfix-listfiles-html.lsp')
-rw-r--r-- | postfix-listfiles-html.lsp | 4 |
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> |