Replaced overload with Union types in time module
Merge pull request #442 from spkersten/time434

Replaced overload with Union types in time module