Skip to content

Updating hardcoded timezone lists in source code #14

@nartc

Description

@nartc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions