From e0a6c421fff893acaf1108c0b775b04f298a9a53 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 22 Jun 2021 16:45:59 +0200 Subject: [PATCH] MOBILE-3320 calendar: Fix timezone in ion-datetime This is a temporary fix, it should be considered further in MOBILE-3784 --- src/addons/calendar/pages/edit-event/edit-event.html | 5 +++-- .../fields/date/component/addon-mod-data-field-date.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/addons/calendar/pages/edit-event/edit-event.html b/src/addons/calendar/pages/edit-event/edit-event.html index d858edae4..eabb1be4e 100644 --- a/src/addons/calendar/pages/edit-event/edit-event.html +++ b/src/addons/calendar/pages/edit-event/edit-event.html @@ -29,7 +29,7 @@

{{ 'core.date' | translate }}

+ [max]="maxDate" [min]="minDate" display-timezone="utc"> @@ -166,7 +166,8 @@ + [displayFormat]="dateFormat" [disabled]="form.controls.duration.value != 1" + display-timezone="utc"> diff --git a/src/addons/mod/data/fields/date/component/addon-mod-data-field-date.html b/src/addons/mod/data/fields/date/component/addon-mod-data-field-date.html index f6bcd38db..d0acc0ca8 100644 --- a/src/addons/mod/data/fields/date/component/addon-mod-data-field-date.html +++ b/src/addons/mod/data/fields/date/component/addon-mod-data-field-date.html @@ -1,7 +1,7 @@ + [disabled]="searchMode && !searchFields!['f_'+field.id+'_z']" [displayFormat]="format" display-timezone="utc">