Locale for datetime module
This commit is contained in:
parent
eab563bda0
commit
216ef815c7
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue