Merge pull request #149 from vidyu/master

Locale for datetime module
This commit is contained in:
tobi-wan-kenobi 2017-07-27 16:10:26 +02:00 committed by GitHub
commit eb001299cc

View file

@ -10,8 +10,11 @@ Parameters:
from __future__ import absolute_import from __future__ import absolute_import
import datetime import datetime
import locale
import bumblebee.engine import bumblebee.engine
locale.setlocale(locale.LC_TIME, locale.getdefaultlocale())
ALIASES = [ "date", "time" ] ALIASES = [ "date", "time" ]
def default_format(module): def default_format(module):