You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As #10#13 mentioned, there's a problem with guess property being set to true. Now, the problem is not the property itself but the "outdated" timezones list in the source code.
The library depends on moment-timezone for the "guess" functionality but probably not keeping up-to-date with moment-timezone in terms of what moment-timezone returns for its .guess() method. This leads to this line: this.countryChange.emit(this.allTimezones.find(x => x.zones.indexOf(this.currentTimezone) >= 0).iso); errors out as this.allTimezones.find(x => x.zones.indexOf(this.currentTimezone) >= 0).iso is undefined.
Is there any update/suggestion to this?
The text was updated successfully, but these errors were encountered:
As #10 #13 mentioned, there's a problem with
guess
property being set totrue
. Now, the problem is not the property itself but the "outdated" timezones list in the source code.The library depends on
moment-timezone
for the "guess" functionality but probably not keeping up-to-date withmoment-timezone
in terms of whatmoment-timezone
returns for its.guess()
method. This leads to this line:this.countryChange.emit(this.allTimezones.find(x => x.zones.indexOf(this.currentTimezone) >= 0).iso);
errors out asthis.allTimezones.find(x => x.zones.indexOf(this.currentTimezone) >= 0).iso
isundefined
.Is there any update/suggestion to this?
The text was updated successfully, but these errors were encountered: