changeset 456:6177be92aa33

format_date now formatting the timestamp based on user's time zone when he is logged in otherwise showing the utc datetime
author Akash Sinha <akash2607@gmail.com>
date Tue, 31 May 2011 01:38:34 +0530
parents 3ab8882c6da1
children f1f88b7b17fa
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Tue May 31 00:59:30 2011 +0530
+++ b/MoinMoin/apps/frontend/views.py	Tue May 31 01:38:34 2011 +0530
@@ -15,7 +15,7 @@
 import re
 import difflib
 import time
-from babel.dates import format_date
+from flaskext.babel import format_date
 from datetime import datetime
 from itertools import chain