Allow duration format to be changed