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

Implement ISO calendar instant parsing #1232

Closed
bonjourmauko opened this issue Sep 25, 2024 · 0 comments · Fixed by #1223
Closed

Implement ISO calendar instant parsing #1232

bonjourmauko opened this issue Sep 25, 2024 · 0 comments · Fixed by #1223
Labels
kind:feat A feature request, a feature deprecation

Comments

@bonjourmauko
Copy link
Member

bonjourmauko commented Sep 25, 2024

Part of #966
Depends on #1229

Here is what I did:

from openfisca_core import periods
periods.instant("2024-W01")

Here is what I expected to happen:

To work.

Here is what actually happened:

InstantError: '2024-W01' is not a valid instant. Instants are described using the 'YYYY-MM-DD' format, for instance '2015-06-15'.

Here is data (or links to it) that can help you reproduce this issue:

#966

@bonjourmauko bonjourmauko added the kind:feat A feature request, a feature deprecation label Sep 25, 2024
@bonjourmauko bonjourmauko added this to the Add support for weeks milestone Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat A feature request, a feature deprecation
Projects
Status: Answer given / Dealt with
Development

Successfully merging a pull request may close this issue.

1 participant