Set time format in config