[go: up one dir, main page]

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

Fixed decade/year, added decades, added test #1084

Merged
merged 4 commits into from
Apr 17, 2018

Conversation

ericman314
Copy link
Collaborator

Fixed problem where decades were displayed as years. Also changed problem with watt changing to W.

Added the decades alias.

Added a test to verify units' names match the keys.

@ericman314
Copy link
Collaborator Author

As I mentioned in #1083, there is a little weirdness with hertz and Hertz and, overall, a redundancy in how the units are defined with redundant key and name properties. @josdejong, I'm happy to update this PR if you think we should fix those too.

@josdejong
Copy link
Owner

@ericman314 thanks! Let's first merge this fix.

It would be great of course if you can do some refactoring to improve the code, but I think that should be a separate step from this fix.

@josdejong josdejong merged commit f710fd4 into josdejong:develop Apr 17, 2018
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.

3 participants