fix(datetime): do not report timezone in ionChange (#26183)

resolves #25577

BREAKING CHANGE:

Datetime no longer incorrectly reports the time zone when `value` is updated. Datetime does not manage time zones, so any time zone information provided is ignored.
This commit is contained in:
Liam DeBeasi
2022-10-31 14:03:14 -05:00
committed by GitHub
parent 322a1dbcd0
commit 3fb4caf21f
10 changed files with 23 additions and 110 deletions

View File

@ -204,11 +204,6 @@ export class DatetimeButton implements ComponentInterface {
const firstParsedDatetime = parsedDatetimes[0];
const use24Hour = is24Hour(locale, hourCycle);
// TODO(FW-1865) - Remove once FW-1831 is fixed.
parsedDatetimes.forEach((parsedDatetime) => {
parsedDatetime.tzOffset = undefined;
});
this.dateText = this.timeText = undefined;
switch (datetimePresentation) {