Best practice forum (Archived)

该论坛讨论已删除

 
该论坛帖子已被删除
2013年12月30日 Monday 11:32
该论坛帖子的内容已被删除,无法再访问。
该论坛帖子已被删除
2013年12月30日 Monday 11:42
该论坛帖子的内容已被删除,无法再访问。
??
Re: RPL have imported with strangely incorrect dates
?? 发表于 2013年12月30日 Monday 13:29
 

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.

该论坛帖子已被删除
2013年12月30日 Monday 14:00
该论坛帖子的内容已被删除,无法再访问。
??
Re: RPL have imported with strangely incorrect dates
?? 发表于 2013年12月30日 Monday 14:35
 

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.

该论坛帖子已被删除
2013年12月30日 Monday 14:46
该论坛帖子的内容已被删除,无法再访问。
该论坛帖子已被删除
2013年12月30日 Monday 15:49
该论坛帖子的内容已被删除,无法再访问。
??
Re: RPL have imported with strangely incorrect dates
?? 发表于 2013年12月30日 Monday 16:07
 

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.