Ticket #8357 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Cannot import date correctly from excel by using TicketImportPlugin

Reported by: farialima Assigned to: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: chohsei@gmail.com Trac Release: 0.11

Description

from http://groups.google.com/group/trac-users/browse_thread/thread/4980c112b534bbef :

(sorry I had hadn't seen that before -- seems like a real bug)

I'm trying to import some tickets information to Traclightning from excel. But it seems that the date information(ticket's due_assign, due_close) cannot be imported correctly, they are imported as text. The other fields can be imported correctly. I've installed the TicketImportPlugin and xlrd library like the following link's description. Maybe this is a very simple question, Could someone tell me how to resolve this? Please help me. Thank you very much.

Attachments

Change History

01/04/11 03:47:35 changed by farialima

ticket's due_assign, due_close

I suppose these fields were coming from another plugin. Could you tell me what plugin it was ?

01/04/11 05:10:32 changed by chohsei@gmail.com

Thank you very much for your comment, farialima. I think due_assign, due_close are coming from tracganttcalendarplugin 0.2.

Here is the information.


tracganttcalendarplugin 0.2 Provide calendar and ganttchart.

プラグイン作者: okamototk@user.sourceforge.jp ホームページ: http://sourceforge.jp/projects/shibuya-trac/ ライセンス: New BSD

01/04/11 18:42:02 changed by farialima

  • status changed from new to assigned.

01/04/11 18:45:02 changed by farialima

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [9736]. There now an option:

[importer]
datetime_format=....

that will be used to format the dates when importing. The format is the Python fstrtime, see http://docs.python.org/library/time.html#time.strftime

08/20/11 21:48:58 changed by hasienda

Just a hint, that import of real time (stamps) as in #4783 is related, but certainly not the same as with the strings coming from current plugins (including DateFieldPlugin).


Add/Change #8357 (Cannot import date correctly from excel by using TicketImportPlugin)




Change Properties
Action