Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Generate Timezone Options from Built-in PHP Function #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elchenberg
Copy link

I looked into this code because I got PHP warnings about undefined
constants in setup.php. They were caused by non-breaking whitespaces
near "Choose..." and "Europe/Copenhagen" () as I figured
out later.

In the meantime, I decided to replace the original code with a loop
that generates the drop-down list from the list of time zones provided
by the built-in PHP function timezone_identifiers_list().

I looked into this code because I got PHP warnings about undefined
constants in setup.php. They were caused by non-breaking whitespaces
near "Choose..." and "Europe/Copenhagen" (<?php }\xa0?>) as I figured
out later.

In the meantime, I decided to replace the original code with a loop
that generates the drop-down list from the list of time zones provided
by the built-in PHP function timezone_identifiers_list().
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant