Parse time_value properly, fixes #11
Merge pull request #11 from HeHStudy/1780--saving_time_error

Saving time fields