timezone icon indicating copy to clipboard operation
timezone copied to clipboard

Ambiguous timezones

Open ghost opened this issue 9 years ago • 0 comments

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

ghost avatar Jun 07 '15 14:06 ghost