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

Wrong RegEx to check for local date #162

Open
mquadrat opened this issue Aug 18, 2016 · 0 comments
Open

Wrong RegEx to check for local date #162

mquadrat opened this issue Aug 18, 2016 · 0 comments

Comments

@mquadrat
Copy link

The regex used in a37_datatype to determine if a given date has a time zone offset is broken., The regex returns true if there is an offset. But the corresponding if interprets the true as "is local date without offset" and adds a "Z" to it.

The if has to be negated. Additionally it might make sense to rename the regex, so it is clear what it does.

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