earlephilhower / newlib-xtensa

newlib-xtensa fork intended for esp8266
GNU General Public License v2.0
5 stars 7 forks source link

Add support for <+/-nn> timezone names #14

Closed earlephilhower closed 3 years ago

earlephilhower commented 3 years ago

Fixes #12

TZ.h can now contain timezone names of the form <[+-]nn> when there is no commonly used timezone abbreviation for the setting. Adjust the tzset function to handle this case by special-casing the name parsing when the first character is a '<'.