We have a response of time in below format like,
"time": "05:36:38.088"
or
"time": "05:36:38+088"
We need to show it in "hh:mm:ss" or "hh:mm".
I tried to convert it by using split and if - else conditions, But as both format will need diff splits, so searching for custom pipe to handle both conditions.