From 216ef815c7f236bef8c8e646e43a547ee5ea2528 Mon Sep 17 00:00:00 2001 From: Vidyu Krastev Date: Thu, 27 Jul 2017 16:01:56 +0200 Subject: [PATCH] Locale for datetime module --- bumblebee/modules/datetime.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bumblebee/modules/datetime.py b/bumblebee/modules/datetime.py index 4141a53..e1b9236 100644 --- a/bumblebee/modules/datetime.py +++ b/bumblebee/modules/datetime.py @@ -10,8 +10,11 @@ Parameters: from __future__ import absolute_import import datetime +import locale import bumblebee.engine +locale.setlocale(locale.LC_TIME, locale.getdefaultlocale()) + ALIASES = [ "date", "time" ] def default_format(module):