refactor datetime labels