Best practice forum (Archived)

This forum discussion has been removed

 
This forum post has been removed
Monday, 30 December 2013, 11:32 AM
The content of this forum post has been removed and can no longer be accessed.
This forum post has been removed
Monday, 30 December 2013, 11:42 AM
The content of this forum post has been removed and can no longer be accessed.
? ?
Re: RPL have imported with strangely incorrect dates
by ? ? - Monday, 30 December 2013, 1:29 PM
 

Hi Liz,

In the CSV import settings the date format is set to dd/mm/yyyy but in your CSV you are using the US date format of mm/dd/yyyy.

This forum post has been removed
Monday, 30 December 2013, 2:00 PM
The content of this forum post has been removed and can no longer be accessed.
? ?
Re: RPL have imported with strangely incorrect dates
by ? ? - Monday, 30 December 2013, 2:35 PM
 

Hmmm. Not sure if there's an easy way to fix thousands of dates unfortunately.

You might have to clean out all the imported completions out and start again :-(

mdl_totara_compl_import_course
mdl_totara_compl_import_cert

mdl_certif_completion

mdl_certif_completion_history

mdl_prog_completion

mdl_prog_completion_history

mdl_course_completions

mdl_course_completion_history

 

Should get most of it.

This forum post has been removed
Monday, 30 December 2013, 2:46 PM
The content of this forum post has been removed and can no longer be accessed.
This forum post has been removed
Monday, 30 December 2013, 3:49 PM
The content of this forum post has been removed and can no longer be accessed.
? ?
Re: RPL have imported with strangely incorrect dates
by ? ? - Monday, 30 December 2013, 4:07 PM
 

Nah that table just holds the raw data that was read from the CSV file. It is then processed and put into the appropriate course, plan, program completion tables. The dates are all converted to Unix timestamps in those tables, and it's the processing of the dates that went wrong as the code was attempting to process 2/1/2013 as Jan 2nd, not Feb 1st as you intended.