MediaPortal Version: 1.18.0
Description
I tried to extract the values of hours and minutes by the function "data extract" from the tags #currentremaining and #durathion. If the tag value is more than one hour, then the function works normally (see screenshot 1). If the tag value is less than one hour, the function returns 0 (or is it the error value?) for both hours and minutes (see screenshot 2 and 3). But for some files "date.extract('h',cdate(#currentremaining))" returns minutes, "date.extract('n',cdate(#currentremaining))" - seconds (see screenshot 4).
What it could be: bug or feature of the function?
Steps to Reproduce:
I do not know yet what to write here. The problem was revealed during the discussion of the topic Is it possible to add two time values?
Description
I tried to extract the values of hours and minutes by the function "data extract" from the tags #currentremaining and #durathion. If the tag value is more than one hour, then the function works normally (see screenshot 1). If the tag value is less than one hour, the function returns 0 (or is it the error value?) for both hours and minutes (see screenshot 2 and 3). But for some files "date.extract('h',cdate(#currentremaining))" returns minutes, "date.extract('n',cdate(#currentremaining))" - seconds (see screenshot 4).
What it could be: bug or feature of the function?
Steps to Reproduce:
I do not know yet what to write here. The problem was revealed during the discussion of the topic Is it possible to add two time values?