VID-849 Dump custom duration format func and use formatTimePeriod