mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user