Do not localize date, time, datetime in csv/excel exports

This commit is contained in:
Martin Gross
2019-08-09 13:40:32 +02:00
parent e9ab56486a
commit f5c611982a
3 changed files with 32 additions and 6 deletions

View File

@@ -982,6 +982,7 @@ class Question(LoggedModel):
(TYPE_DATETIME, _("Date and time")),
(TYPE_COUNTRYCODE, _("Country code (ISO 3166-1 alpha-2)")),
)
UNLOCALIZED_TYPES = [TYPE_DATE, TYPE_TIME, TYPE_DATETIME]
event = models.ForeignKey(
Event,