Skip to content

Fixed certificate "completion date" for learner list in course page - #315

Merged
johnbaldwin merged 1 commit into
masterfrom
john/fix-course-learner-list-date-completed
Dec 29, 2020
Merged

johnbaldwin merged 1 commit into
masterfrom
john/fix-course-learner-list-date-completed

Conversation

@johnbaldwin

@johnbaldwin johnbaldwin commented Dec 29, 2020 •

Copy link
Copy Markdown
Contributor

The Figures api endpoint '/figures/api/users/detail/' does not have a ['progress_data']['date_completed'] key.
['progress_data']['course_completed'] contains the date if completed, else it contains 'false'

The 'moment' package appears to set the date to 'today' when the value is 'false'

https://appsembler.atlassian.net/browse/RED-1741

The Figures api endpoint '/figures/api/users/detail/' does not have a
['progress_data']['date_completed'] key.
['progress_data']['course_completed'] contains the date if completed,
else it contains 'false'

The 'moment' package appears to set the date to 'today' when the value
is 'false'
@johnbaldwin
johnbaldwin merged commit 7a94141 into master Dec 29, 2020
@johnbaldwin
johnbaldwin deleted the john/fix-course-learner-list-date-completed branch December 29, 2020 15:34
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

Successfully merging this pull request may close these issues.

2 participants