Add time format support in Format unit.