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 date coercion for non-long numeric types #329

Merged
merged 1 commit into from
Sep 15, 2016

Conversation

Koka
Copy link
Contributor

@Koka Koka commented Sep 14, 2016

Fixes bug #328 by the simpliest available way

@yahoocla
Copy link

CLA is valid!

@clayreimann
Copy link
Contributor

LGTM. Just one question, are we concerned that this also affects floating point numbers?

@Koka
Copy link
Contributor Author

Koka commented Sep 14, 2016

I think case when someone requests to convert floating point number to date is pretty exotic.

@DennisMcWherter
Copy link
Collaborator

@clayreimann I agree with @Koka. Maybe that's a bridge we should cross when (if) we get to it

👍

@DennisMcWherter DennisMcWherter merged commit 51a381b into yahoo:master Sep 15, 2016
@xiaoyao1991
Copy link
Contributor

👍 Thanks @Koka. I'm still having trouble with the last comment I have on #308, which is causing #320 to not pass. Any idea on that or is it just me

@Koka
Copy link
Contributor Author

Koka commented Sep 26, 2016

@xiaoyao1991 I've looked at latest travis log for your integration test #320 and I can see that there is no exceptions related to date parsing itself, but some logical errors in other tests:

  FilterIT.testPublishDateGreaterThanFilterSubRecord:1248 expected [true] but found [false]
  PaginateIT.testPageAndSortOnSubRecords:502 expected [1464638927412] but found [1464638927000]

Both failures look like someone is truncating milliseconds on Date fields somewhere.

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.

5 participants