Skip to content

Fix DomainError when parsing DateTime#22198

Merged
KristofferC merged 2 commits intomasterfrom
cv/dates-domain-error
Jun 5, 2017
Merged

Fix DomainError when parsing DateTime#22198
KristofferC merged 2 commits intomasterfrom
cv/dates-domain-error

Conversation

@omus
Copy link
Copy Markdown
Member

@omus omus commented Jun 2, 2017

Fixes #22100

@KristofferC KristofferC added backport pending 0.6 bugfix This change fixes an existing bug dates Dates, times, and the Dates stdlib module labels Jun 2, 2017
# Issue #21504
@test isnull(tryparse(Dates.Date, "0-1000"))

# Issue #22100
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Perhaps make a testset of this issue tests? Simplifies for whoever converts this file to @testsets later on

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That sounds resasonable to me

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done

@omus
Copy link
Copy Markdown
Member Author

omus commented Jun 5, 2017

32-bit failure on Appveyor is unrelated. Should I trigger a new build?

@KristofferC
Copy link
Copy Markdown
Member

I don't think that is needed.

@KristofferC KristofferC merged commit abf3bce into master Jun 5, 2017
@omus omus deleted the cv/dates-domain-error branch June 5, 2017 17:17
tkelman pushed a commit that referenced this pull request Jun 6, 2017
* Fix DomainError when parsing DateTime

* Converted tests into a testset

(cherry picked from commit abf3bce)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug dates Dates, times, and the Dates stdlib module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants