Fix time format for frontend

This commit is contained in:
Kuroshini 2019-10-16 14:11:07 +03:00
parent 4f67c295d1
commit e69f272a63

View File

@ -34,7 +34,7 @@ class Country(TranslatedFieldsMixin, SVGImageMixin, ProjectBaseMixin):
@property @property
def time_format(self): def time_format(self):
if self.code.lower() not in self.TWELVE_HOURS_FORMAT_COUNTRIES: if self.code.lower() not in self.TWELVE_HOURS_FORMAT_COUNTRIES:
return 'hh:mm' return 'HH:mm'
return 'hh:mmA' return 'hh:mmA'
@property @property