set time field if date is set
Merge pull request #2288 from GDmac/2.0

set time field if date is set