| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Getting following in CI build.. :/ docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit. |
Sorry, something went wrong.
|
Hi, thanks for the PR! |
Sorry, something went wrong.
|
I could try to have Joda Time supported as well. But the thing is, do we really want to continue supporting it? |
Sorry, something went wrong.
|
Bump version to 2.0.0 sounds reasonable to me. |
Sorry, something went wrong.
|
Note that some tests are still failing on CI. |
Sorry, something went wrong.
|
I fixed most. Just having issues understanding logic behind can you help, @oshai ? |
Sorry, something went wrong.
I didn't wrote it originally, but from reading the code I think it checks the following:
There might be a problem either with the timezone or the millis if I have to guess. |
Sorry, something went wrong.
|
I noticed something, postgres is returning timestamps in UTC string, even when I insert it with non UTC offset. |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #233 +/- ##
============================================
+ Coverage 80.03% 80.17% +0.14%
- Complexity 1074 1079 +5
============================================
Files 265 266 +1
Lines 3916 3919 +3
Branches 522 523 +1
============================================
+ Hits 3134 3142 +8
+ Misses 534 531 -3
+ Partials 248 246 -2
Continue to review full report at Codecov.
|
Sorry, something went wrong.
- Removes joda from encoding/decoding - Using Threeten for PeriodDuration
According to https://www.postgresql.org/docs/9.1/datatype-datetime.html 8.5.2. Date/Time Output: The default is the ISO format and it looks like: ISO | ISO 8601/SQL standard | 1997-12-17 07:37:16-08 (without time zone) Conversion on test makes sense (to see it's the same date as inserted). It's just not clear how this was changed from pervious impl. I still need to review all changes, but it will take some time. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks again for the PR.
I left some comments in code and have some more general things:
About the migration to 2.x: I am thinking if we can add a suggestion to users how to do that more easily? Do you have any suggestion?
Sorry, something went wrong.
| created_at_date DATE not null, | ||
| created_at_datetime DATETIME not null, | ||
| created_at_timestamp TIMESTAMP not null, | ||
| created_at_datetime DATETIME(6) not null, |
There was a problem hiding this comment.
why was it changed?
Sorry, something went wrong.
Can you point me to which cases are you talking about specifically?
Yes. Java uses nano, joda uses millis, db micro(at least in mysql) |
Sorry, something went wrong.
Look at LocalDateTimeEncoderDecoder:17 and see more examples in 'files changed' with the warning: Added line #Lxx was not covered by tests |
Sorry, something went wrong.
|
@dragneelfps before merging there was still one answered question in the review about DATETIME(6). In addition, will you have some time to improve test coverage? |
Sorry, something went wrong.
|
Stale pull request message |
Sorry, something went wrong.
|
I will merge this PR soon. Will create 1.x branch before that. |
Sorry, something went wrong.
|
Thanks for the PR! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Removes joda from encoding/decoding
common
mysql
postgres
continuation of #229