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

Standardize DatePrimitive -> Date interaction #1395

Merged
merged 3 commits into from
Aug 18, 2022
Merged

Conversation

mscuthbert
Copy link
Member

Fixes a part of @gregchapman-dev comment on 38d103a

Does not create a machine readable representation for DateBetween, etc. -- happy to include that as something like 'humdrumStr()' -- since it is being parsed elsewhere, though I think the default string should be as human readable as possible.

Standardizes that Date.year / month / etc. hold int or None, not strings ever.

Sanity check month, day, hour, minute, second.

Wondering if we should be recording hour/minute/second at all -- thoroughly under tested before.

Fixes a part of @gregchapman-dev comment on 38d103a

Standardizes that Date.year / month / etc. hold int or None, not strings ever.

Sanity check month, day, hour, minute, second.

Wondering if we should be recording hour/minute/second at all -- thoroughly under tested before
@coveralls
Copy link

coveralls commented Aug 18, 2022

Coverage Status

Coverage increased (+0.005%) to 93.039% when pulling 9390f06 on dateprimitive-init into b28eb0b on master.

@mscuthbert mscuthbert merged commit ace3b80 into master Aug 18, 2022
@mscuthbert mscuthbert deleted the dateprimitive-init branch August 18, 2022 22:01
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