Is your feature request related to a problem? Please describe.
When publishing a grade with ltijs's Grade.submitScore service, it sets the timestamp to be the current time by default. However, in the case of our application, grades are being published to the LMS after the assignment's due date, and so they are all showing up as late submissions in the LMS.
Describe the solution you'd like
We store submission times on our third party application, and would like those submission times to be used as the submission times on canvas. Instead of always hardcoding the submission timestamp to the current time, allow the user to optionally pass in the timestamp field in the score object. If it is not provided, it can still be defaulted to the current timestamp.
Additional context
Willing to make a PR, this is a one line fix
Is your feature request related to a problem? Please describe. When publishing a grade with ltijs's
Grade.submitScore
service, it sets the timestamp to be the current time by default. However, in the case of our application, grades are being published to the LMS after the assignment's due date, and so they are all showing up as late submissions in the LMS.Describe the solution you'd like We store submission times on our third party application, and would like those submission times to be used as the submission times on canvas. Instead of always hardcoding the submission timestamp to the current time, allow the user to optionally pass in the timestamp field in the
score
object. If it is not provided, it can still be defaulted to the current timestamp.Additional context Willing to make a PR, this is a one line fix