tweetnest icon indicating copy to clipboard operation
tweetnest copied to clipboard

Generate Timezone Options from Built-in PHP Function

Open elchenberg opened this issue 7 years ago • 0 comments

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().

elchenberg avatar Jan 15 '18 15:01 elchenberg