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

fixes #259 allowing trailing Z for all variants of time parts #265

Merged
merged 15 commits into from
Nov 3, 2020

Conversation

mcauer
Copy link
Member

@mcauer mcauer commented Sep 7, 2020

Changes proposed in this pull request:

Type of change

Please delete if not relevant:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Description

  • Extending the ISODateTimeParser to allow a trailing Z for all variants of time parts in a DateTime String. e.g. 2020-05-01T15Z

Corresponding issue

Closes #259

New or changed dependencies:

Checklist

@mcauer mcauer requested a review from tyrasd September 7, 2020 14:38
@tyrasd tyrasd added this to the release 0.6.0 milestone Sep 7, 2020
Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

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

found some mostly minor issues here, and would be glad to hear what you think about our level of ISO standard compliance. 😊

@tyrasd
Copy link
Member

tyrasd commented Sep 8, 2020

ah, @mcauer – it seems like you did not yet add the email michael.auer@heigit.org to your github account, which you used to sign off the commits (66a1926 and aa4f780). Because of this the commits are not detected to belong to you.

Also, it would be superb if you could perhaps set up signing of your git commits using gpg: https://docs.github.com/en/github/authenticating-to-github/signing-commits 😃

@mcauer
Copy link
Member Author

mcauer commented Sep 9, 2020

ah, @mcauer – it seems like you did not yet add the email michael.auer@heigit.org to your github account, which you used to sign off the commits (66a1926 and aa4f780). Because of this the commits are not detected to belong to you.

Also, it would be superb if you could perhaps set up signing of your git commits using gpg: https://docs.github.com/en/github/authenticating-to-github/signing-commits smiley

@tyrasd thanks for pointing me on it. Added my email and created a gpg key for future commits.

@tyrasd
Copy link
Member

tyrasd commented Sep 9, 2020

created a gpg key for future commits

looks like it is not yet working 100% correctly on your side, since 4eb0dc6 seems to be unsigned, AFAICs. 😉

@mcauer
Copy link
Member Author

mcauer commented Sep 9, 2020

created a gpg key for future commits

looks like it is not yet working 100% correctly on your side, since 4eb0dc6 seems to be unsigned, AFAICs. wink

I used IntelliJ UI to commit. Can this be configured in IntelliJ?

@mcauer
Copy link
Member Author

mcauer commented Sep 9, 2020

created a gpg key for future commits

looks like it is not yet working 100% correctly on your side, since 4eb0dc6 seems to be unsigned, AFAICs. wink

I used IntelliJ UI to commit. Can this be configured in IntelliJ?

Ok now it worked. puh. :)

@tyrasd
Copy link
Member

tyrasd commented Sep 9, 2020

👍

a few unit tests for the class would be nice, if you don't mind…

@mcauer
Copy link
Member Author

mcauer commented Sep 9, 2020

+1

a few unit tests for the class would be nice, if you don't mind…

ok, still working on that.

@tyrasd tyrasd self-assigned this Sep 11, 2020
@tyrasd tyrasd force-pushed the fix-issue-259-timestamp-formats branch 2 times, most recently from f3789c5 to f8148b1 Compare September 14, 2020 12:54
@tyrasd tyrasd added waiting for review This pull request needs a code review code quality Related to our standards for 'good' code user experience Enhances the usability of OSHDB labels Sep 16, 2020
@tyrasd tyrasd force-pushed the fix-issue-259-timestamp-formats branch from f8148b1 to 77c0085 Compare September 16, 2020 08:44
@tyrasd tyrasd requested a review from rtroilo September 16, 2020 08:44
@tyrasd tyrasd requested a review from joker234 October 26, 2020 17:59
@tyrasd tyrasd added the breaking This will introduce an incombability to previous versions. Documentation update compulsory label Oct 26, 2020
@joker234 joker234 mentioned this pull request Oct 30, 2020
11 tasks
@joker234 joker234 force-pushed the fix-issue-259-timestamp-formats branch from a49b2e1 to 87b5338 Compare November 3, 2020 15:40
Copy link
Member

@joker234 joker234 left a comment

Choose a reason for hiding this comment

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

I think some tests with valid ISO 8601 timestrings but with a not supported timezone (non-UTC) are missing. And the Changelog is missing!

@tyrasd
Copy link
Member

tyrasd commented Nov 3, 2020

I think some tests with valid ISO 8601 timestrings but with a not supported timezone (non-UTC) are missing.

@joker234 isn't that already there with tests like throwsPosTimezoneHHParseIsoDateTime (etc.) here? Or do you mean something else?

tyrasd added a commit that referenced this pull request Nov 3, 2020
@tyrasd
Copy link
Member

tyrasd commented Nov 3, 2020

And the Changelog is missing!

done

@joker234
Copy link
Member

joker234 commented Nov 3, 2020

I think some tests with valid ISO 8601 timestrings but with a not supported timezone (non-UTC) are missing.

@joker234 isn't that already there with tests like throwsPosTimezoneHHParseIsoDateTime (etc.) here? Or do you mean something else?

Nevermind, that's alright.

@joker234 joker234 force-pushed the fix-issue-259-timestamp-formats branch from 765be03 to 682b2ff Compare November 3, 2020 18:37
@joker234 joker234 merged commit 232beea into master Nov 3, 2020
@joker234 joker234 deleted the fix-issue-259-timestamp-formats branch November 3, 2020 19:00
@tyrasd tyrasd removed the waiting for review This pull request needs a code review label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This will introduce an incombability to previous versions. Documentation update compulsory code quality Related to our standards for 'good' code user experience Enhances the usability of OSHDB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timestamp 2010-01-01T00:00Z throws Date or DateTime Format not supported
4 participants