Use util.Time consistently in types.go
Merge pull request #2833 from liggitt/util_time

Use util.Time consistently in types.go