Parse 1d as 1 day instead of as a double

Fixes #117
Merge pull request #118 from typesafehub/wip/havocp-parse-1d-117

Parse 1d as 1 day instead of as a double