Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due date on assessments should be iso format #779

Closed
gmoger-jisc opened this issue Nov 12, 2020 · 1 comment
Closed

Due date on assessments should be iso format #779

gmoger-jisc opened this issue Nov 12, 2020 · 1 comment

Comments

@gmoger-jisc
Copy link

Description
Due dates captured against assessments are in unix timestamp format and not converted to ISO 8601 as is standard across xAPI specification. Here is an example:

"object": { "id": "https://DOMAIN/mod/assign/view.php?id=1661199", "definition": { "type": "http://adlnet.gov/expapi/activities/assessment", "name": { "en": "Portfolio Task 1 Submission Upload" }, "extensions": { "http://xapi.jisc.ac.uk/dueDate": "1598223600" } }, "objectType": "Activity" }

Version

  • {{master-jisc}} at {{latest}}
@davidpesce
Copy link
Collaborator

This appears to only impact the jisc version of the plugin and is due to this here:

$object['definition']['extensions']['http://xapi.jisc.ac.uk/dueDate'] = $course->startdate;

I'm hesitant to change anything with the jisc version as I have no way to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants