added custom filter to format time duration