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

Modify validation check in Poco::DateTime #1859

Merged
merged 2 commits into from
Sep 4, 2017
Merged

Modify validation check in Poco::DateTime #1859

merged 2 commits into from
Sep 4, 2017

Conversation

komainu8
Copy link

Dear, developers.

I tried improved validation check in Poco::DateTime and Poco::DateTime.assign according to issues #1540's ideas.

I modified that used exception(InvalidArgumentException) in place of poco_assert.

@obiltschnig
Copy link
Member

It would be great if the exception could say what part of the date is wrong, or include the formatted date as part of the exception text. Also, please fix the exception text ("DataTime").

@komainu8
Copy link
Author

@obiltschnig Thank you for your comments.
I'll have fixed them.

@komainu8
Copy link
Author

komainu8 commented Sep 3, 2017

I've fixed exception message.

@aleks-f aleks-f merged commit 9ea7000 into pocoproject:develop Sep 4, 2017
@komainu8 komainu8 deleted the feature/fix_issues_1540 branch September 20, 2017 00:42
@SmileGobo
Copy link

Are you planning to merge this into the main branch? The bug is still in 1.13.3

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.

4 participants