numbas / blackboard-scorm-analysis

A tool to analyse data about SCORM attempts from a Blackboard course archive
3 stars 1 forks source link

UTC formatting in dates #4

Closed andy-iskauskas closed 5 years ago

andy-iskauskas commented 5 years ago

It seems that the datestamps that come from Blackboard now have an additional UTC identifier at the end of their string, which gives a 'unconverted data remains' error when server.py is called. In L98 of blackboardscorm.py, I think changing '%Y-%m-%dT%H:%M:%S' to '%Y-%m-%dT%H:%M:%S.%fZ' should fix it.

christianp commented 5 years ago

Thanks for reporting this, and the fix!