#8357 closed defect (fixed)
Cannot import date correctly from excel by using TicketImportPlugin
Reported by: | François Granade | Owned by: | François Granade |
---|---|---|---|
Priority: | normal | Component: | TicketImportPlugin |
Severity: | normal | Keywords: | |
Cc: | chohsei@… | 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 (0)
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
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
comment:3 Changed 14 years ago by
Status: | new → assigned |
---|
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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
comment:5 Changed 13 years ago by
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).
I suppose these fields were coming from another plugin. Could you tell me what plugin it was ?