Details
Description
Currently SCORM reports exhibit time periods notation format, which is understandable but yet not so user-friendly: P1DT1H2M32.1S for example. Using some complex regular expressions, we can replace this notation by usual one: 1 day 1 hour 2 minutes 32.1 sec. The attached patch does this by adding a formatter function and calling it in every place where report prints out date/time periods. The patch is applied with -p0.
Hi Vlas - I might be missing something, but the SCORM's I have loaded display times like 00:00:03.97 not P1DT1H2M32.1S (which is still bad usability!) - I've only got Scorm 1.2 objects loaded though - does this occur with SCORM 2004 objects? - could you provide some screenshots or a test SCORM object that displays the times in that format?
thanks!