Use time in yaml instead of date