Merge pull request #23 from untergeek/master

Version 0.5.1 released.
Fixed boolean logic for determining if hours or days present.