Skip to content

Ambiguous timezones #5

@ghost

Description

There is an issue with ambiguous timezones. For example take Europe/Berlin. This is mapped to the display values (UTC+01:00) Berlin and (UTC+01:00) Bern. When I now pass Europe/Berlin to the Timezone::selectForm() via the preselection parameter both entries above get the selected="selected" attribute. And because Bern comes after Berlin now Bern is shown in the select field.

As Europe/Berlin is no IANA TZDB Timezone (see http://en.wikipedia.org/wiki/List_of_tz_database_time_zones) I would propose to just delete it from the $timezoneList in Timezone.php. And maybe do the same with possible other ambiguous timezones

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