Walter Mantovani commited on
Commit
5b22e11
·
1 Parent(s): de34c35
Files changed (2) hide show
  1. Dockerfile +0 -1
  2. models.py +1 -1
Dockerfile CHANGED
@@ -14,7 +14,6 @@ RUN apt-get update
14
  RUN apt-get install -y --no-install-recommends sqlite3 locales
15
 
16
  RUN export LC_ALL="it_IT.UTF-8"
17
- RUN export LC_TIME="it_IT.UTF-8"
18
  RUN export LC_CTYPE="it_IT.UTF-8"
19
  RUN dpkg-reconfigure locales
20
 
 
14
  RUN apt-get install -y --no-install-recommends sqlite3 locales
15
 
16
  RUN export LC_ALL="it_IT.UTF-8"
 
17
  RUN export LC_CTYPE="it_IT.UTF-8"
18
  RUN dpkg-reconfigure locales
19
 
models.py CHANGED
@@ -2,7 +2,7 @@ import locale
2
  from flask_sqlalchemy import SQLAlchemy
3
  from sqlalchemy_serializer import SerializerMixin
4
 
5
- locale.setlocale(locale.LC_TIME, 'it_IT')
6
 
7
  db = SQLAlchemy()
8
 
 
2
  from flask_sqlalchemy import SQLAlchemy
3
  from sqlalchemy_serializer import SerializerMixin
4
 
5
+ locale.setlocale(locale.LC_ALL, 'it_IT')
6
 
7
  db = SQLAlchemy()
8