From: Anton Shestakov Date: Sun, 22 Dec 2013 05:07:10 +0000 (+0800) Subject: Un-force relative in format_date X-Git-Tag: v3.2.0b1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79bc418adc52c5402c119f794fcaef10834141b;p=thirdparty%2Ftornado.git Un-force relative in format_date --- 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()