I aggregate time values to get time spent by users on elearning courses.
I would like to display totals with no days, i.e. 128:30:24 for someone who has spent 128 hours, 30 minutes and 24 seconds.
How to proceed?
Thank you for posting your question.
Right now the component does not have a time pattern to display the number of hours greater than 24. We will be able to add support of this to our time patterns in one of the next minor releases (ETA – March 25).
Will this work for you?
Hi Iryna, this would be perfect, keep me in the loop.
We are glad to announce that now the
timePattern option supports the HHH pattern to display time data where the number of hours is greater than 24.
The new feature is now available in the 2.7.2 version of Flexmonster.
You are welcome to update the component.
I have updated the component to 2.7.3 and changed option timepattern to “HHH:mm:ss” but it does not work (also tried with “HHH” only), days are still displayed, see attached file.
my mistake, timepattern was defined at a wrong place, corrected and works nicely now, thanks!
We’re glad the issue was resolved.
Please let us know should other questions arise.
This question is now closed