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

Accept half-days for ChronoUnit Argument #353

Merged

Conversation

mdedetrich
Copy link
Contributor

This is a quick solution for #335 which just replaces _ with - so that half-days is an acceptable command line argument (as well as half_days)

There is an argument that we should do a nicer solution like what is done in pureconf, i.e. support for converting from one case to another (and vice versa) but this is a bigger task.

@bkirwi bkirwi merged commit 514e72f into bkirwi:master Sep 11, 2021
@bkirwi
Copy link
Owner

bkirwi commented Sep 11, 2021

Thanks! Agree this is the pragmatic choice.

@mdedetrich
Copy link
Contributor Author

@bkirwi Would it be possible to make a release sometime soon?

@mdedetrich mdedetrich deleted the accept-dash-as-well-as-underscore-chronounit branch September 11, 2021 14:38
@bkirwi
Copy link
Owner

bkirwi commented Sep 23, 2021

apologies, was away on holiday over the last couple weeks... i'll get one out in the next ~day.

@bkirwi
Copy link
Owner

bkirwi commented Sep 24, 2021

just released as 2.2.0, though it may still be percolating... let me know if you run into any issues!

@mdedetrich
Copy link
Contributor Author

Thank you very much!

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.

2 participants