Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect parsing of Timezones #1306

Open
HarryCordewener opened this issue Jun 12, 2019 · 0 comments
Open

Incorrect parsing of Timezones #1306

HarryCordewener opened this issue Jun 12, 2019 · 0 comments

Comments

@HarryCordewener
Copy link
Contributor

HarryCordewener commented Jun 12, 2019

help timezones3 reveals: America/Argentina/Catamarca is an option.

th valid(Timezone,America/Argentina/Catamarca)
0
th valid(Timezone,America/Catamarca)
1

This is wrong.

Likely culprit:

(const PCRE2_UCHAR *) "^[A-Z][\\w+-]+(?:/[A-Z][\\w+-]+)?$",

Recommended:

^[A-Z][\\w+-]+(?:/[A-Z][\\w+-]+)+?$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant