From f79bc418adc52c5402c119f794fcaef10834141b Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Sun, 22 Dec 2013 13:07:10 +0800 Subject: [PATCH] Un-force relative in format_date --- tornado/locale.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tornado/locale.py b/tornado/locale.py index 310a51784..07c6d582b 100644 --- a/tornado/locale.py +++ b/tornado/locale.py @@ -286,8 +286,6 @@ class Locale(object): This method is primarily intended for dates in the past. For dates in the future, we fall back to full format. """ - if self.code.startswith("ru"): - relative = False if isinstance(date, numbers.Real): date = datetime.datetime.utcfromtimestamp(date) now = datetime.datetime.utcnow() -- 2.47.3