changeset 86:a9f5b60006ba

print datestamps
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 29 Dec 2013 22:11:33 -0800
parents 3262010f7f79
children ced29a73c561
files decoupage/cli.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/cli.py	Sat Dec 28 21:56:06 2013 -0800
+++ b/decoupage/cli.py	Sun Dec 29 22:11:33 2013 -0800
@@ -13,7 +13,7 @@
 import socket
 import sys
 
-from .formatters import Sort, Up
+from .formatters import Datestamp, Sort, Up
 from .web import Decoupage
 from wsgiref import simple_server
 
@@ -27,7 +27,7 @@
         Decoupage.__init__(self, **kwargs)
         # default formatters
         # TODO: make configurable
-        self._formatters = [Sort(), Up('..')]
+        self._formatters = [Sort(), Up('..'), Datestamp('modified: %m %d, %Y')]
     def get_formatters(self, path):
         return self._formatters