Totara Learn Open Discussions

SCORM time reporting

 
Andrew Metcalfe
Re: SCORM time reporting
بواسطة Thursday, 15 September 2022, 5:41 PM - Andrew Metcalfe
مجموعة Most Helpful Contributor 2022

SCO Total time appears to report (in text form) whatever the SCO returned to the LMS. 

I have an interesting issue here with a mixture of SCORM1.2 and SCORM2004 SCO's built with Articulate, and Articulate appear to have botched the time reporting for SCORM2004 format, making it unnecessarily difficult to parse. For non-standard formats, fixed-width is simple to parse with conventional tools such as Excel.

Eg these are all scorm total time straight from Totara (SCORM2004 from Articulate Storyline)
PT34.93S (in my opinion should read PT00H00M34.93S)

PT6.78S (in my opinion should read PT00H00M06.78S)

PT8M (in my opinion should read PT00H08M00.00S)

PT1H30.92S (in my opinion should read PT01H00M30.92S)

(EDIT: Alternatively, as the quantity of this field is known (elapsed time), Articulate - why not just report in hh:mm:ss.0, making it compatible with other versions, particularly in mixed reports?)

If anyone has excel formula/VBA/other code to reliably decode SCORM2004 time formats, I'd really appreciate a copy! Thanks

Regards, Andrew