branch | tls-sprint |
changeset 1380 | aa1586de4563 |
parent 1320 | c85f4d8eff8b |
child 1398 | 5fe84a5f7035 |
--- a/web/views/basecontrollers.py Wed Apr 15 17:30:03 2009 +0200 +++ b/web/views/basecontrollers.py Thu Apr 16 15:38:58 2009 +0200 @@ -379,7 +379,7 @@ def js_format_date(self, strdate): """returns the formatted date for `msgid`""" - date = strptime(strdate) + date = strptime(strdate, '%Y-%m-%d %H:%M:%S') return self.format_date(date) def js_external_resource(self, resource):