Best practice forum (Archived)

تمت إزالة منتدى المناقشة هذا

 
لقد تمت إزالة مشاركة المنتدى هذه
Monday, 30 December 2013, 11:32 AM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
لقد تمت إزالة مشاركة المنتدى هذه
Monday, 30 December 2013, 11:42 AM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
? ?
Re: RPL have imported with strangely incorrect dates
بواسطة 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.

لقد تمت إزالة مشاركة المنتدى هذه
Monday, 30 December 2013, 2:00 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
? ?
Re: RPL have imported with strangely incorrect dates
بواسطة 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.

لقد تمت إزالة مشاركة المنتدى هذه
Monday, 30 December 2013, 2:46 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
لقد تمت إزالة مشاركة المنتدى هذه
Monday, 30 December 2013, 3:49 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
? ?
Re: RPL have imported with strangely incorrect dates
بواسطة 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.