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

Fix and simplify parse_iso_time and add tests (master) #1129

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Jun 11, 2020

The function now uses a new simplified function in utils.c which is now
covered by the utils unit tests that also addresses an issue parsing
time strings with offsets.
The simplifications include removing the now obsolete ctime fallback
cases and reducing the nesting of cases for various formats.

Checklist:

The function now uses a new simplified function in utils.c which is now
covered by the utils unit tests that also addresses an issue parsing
time strings with offsets.
The simplifications include removing the now obsolete ctime fallback
cases and reducing the nesting of cases for various formats.
@timopollmeier timopollmeier changed the title Fix and simplify parse_iso_time and add tests Fix and simplify parse_iso_time and add tests (master) Jun 11, 2020
@timopollmeier timopollmeier marked this pull request as ready for review June 11, 2020 10:16
Copy link
Contributor

@mattmundell mattmundell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@mattmundell mattmundell merged commit 87491bc into greenbone:master Jun 15, 2020
@timopollmeier timopollmeier deleted the fix-parse_iso_time-master branch October 15, 2021 10:11
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

Successfully merging this pull request may close these issues.

2 participants