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

Add special handling for gYear and gYearMonth #1315

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

aucampia
Copy link
Member

@aucampia aucampia commented May 15, 2021

This should solve various issues that occur with hanlding of xsd:gYear
and xsd:gYearMonth values.

Fixes #1228
Fixes #806
Fixes #747

Proposed Changes

  • Add specific handling for xsd:gYear and xsd:gYearMonth in _SpecificPythonToXSDRules
  • Add tests for some known issues that remain after this fix

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.511% when pulling fc1cece on iafork:fix_gYearDate into 8d592a2 on RDFLib:master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.511% when pulling fc1cece on iafork:fix_gYearDate into 8d592a2 on RDFLib:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.511% when pulling fc1cece on iafork:fix_gYearDate into 8d592a2 on RDFLib:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.511% when pulling fc1cece on iafork:fix_gYearDate into 8d592a2 on RDFLib:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 75.511% when pulling fc1cece on iafork:fix_gYearDate into 8d592a2 on RDFLib:master.

@coveralls
Copy link

coveralls commented May 15, 2021

Coverage Status

Coverage decreased (-0.09%) to 75.615% when pulling 6e41c72 on iafork:fix_gYearDate into a9aaef1 on RDFLib:master.

@aucampia aucampia force-pushed the fix_gYearDate branch 4 times, most recently from b137b90 to 9594ceb Compare May 16, 2021 11:50
…Rules

This should solve various issues that occur with hanlding of xsd:gYear
and xsd:gYearMonth values.
Copy link
Member

@nicholascar nicholascar left a comment

Choose a reason for hiding this comment

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

Looks good and addresses some annoying issues. Thanks again @aucampia!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants