Project

General

Profile

Feature #6838

Expiry date for student in CSV

Added by Eric Petitdemange almost 6 years ago. Updated over 3 years ago.

Status:
Assigned
Priority:
Normal
Category:
-
Target version:
Start date:
26/11/2013
Due date:
% Done:

80%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi all,
When you register manualy a student, you can set an expiry date which is aggod thing especially for people based on yearly campaign.
This doesn't exist in CSV and would be a good help.


Files

example1.csv (330 Bytes) example1.csv Yoselyn Castillo, 08/08/2014 03:41

Associated revisions

Revision b56a8b98 (diff)
Added by Yoselyn Castillo about 5 years ago

expiryDate to the end of the list -refs #6838

History

#1

Updated by Yannick Warnier almost 6 years ago

  • Target version set to 2.0
#2

Updated by Yoselyn Castillo about 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Yoselyn Castillo
#3

Updated by Yoselyn Castillo about 5 years ago

  • % Done changed from 0 to 80
#4

Updated by Eric Petitdemange about 5 years ago

Hi I can't make it working.
Could you give me an example of working import csv please, as I tried using adte:
dd/mm/yyyy
yyyy/mm/dd
yyyy-mm-dd
yyyy-mm-dd hh:mm:ss

Each time the trainee is registered fine, but not the expiry date (I created a field named expiration_date as pair as the database, user table.

Thanks in advance.

#5

Updated by Yoselyn Castillo about 5 years ago

Firstly you have to replace main/admin/user_import file as in
https://github.com/chamilo/chamilo-lms/pull/331
Take this example1.csv

#6

Updated by Eric Petitdemange about 5 years ago

Hi,
To ensure I recreated the php file from Github.....
I used your example csv file, but it doesn't work:

The users are registered OK, but "never expires" is selected and the expiry date is not modified on the platform.
On Github, I saw 1 file only to modify.

I don't think that the language is important, I'm using french.
On your CSV example, the dates are "normal" (dd/mm/yyyy), in the database, the format is yyyy-mm-dd. Tis is the only difference (and the name of the column) I see.

I hope this helps :)

#7

Updated by Yannick Warnier over 3 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF