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

No longer support replacing dayofwk and dayofyr #108

Merged
merged 3 commits into from
Dec 15, 2018

Conversation

spencerkclark
Copy link
Collaborator

Closes #106

Thanks @jswhit -- this is sort of what I had in mind. Here I simply no longer propagate the old dayofyr and dayofwk attributes from the original date to the new one. I'm not sure if there was a use-case for replacing the dayofyr and dayofwk attributes of a date, since they are intrinsic properties of a given datetime.

I added a couple tests to this implementation too. I'm happy to make any changes if you have any comments.

@jswhit
Copy link
Collaborator

jswhit commented Dec 15, 2018

I like you version better - removing the other pull request.

@spencerkclark
Copy link
Collaborator Author

Thanks! This should be ready to merge once the CI finishes if you have no further comments.

@jswhit jswhit merged commit ca6ddce into Unidata:master Dec 15, 2018
@spencerkclark spencerkclark deleted the dayofyr-dayofwk-replace branch December 25, 2018 12:38
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