mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Continued working on date CSV import
SVN revision: 2164
This commit is contained in:
parent
f8cece95f4
commit
35d0a5223c
@ -14019,7 +14019,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
|
|||||||
BOOL first, in_quotes, filltext;
|
BOOL first, in_quotes, filltext;
|
||||||
time_t ltime;
|
time_t ltime;
|
||||||
|
|
||||||
list = xmalloc(MAX_N_ATTR * NAME_LENGTH);
|
list = xmalloc((MAX_N_ATTR+2) * NAME_LENGTH);
|
||||||
line = xmalloc(10000);
|
line = xmalloc(10000);
|
||||||
|
|
||||||
first = TRUE;
|
first = TRUE;
|
||||||
@ -14199,6 +14199,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
datecol = 1;
|
datecol = 1;
|
||||||
|
attr_offset = 2;
|
||||||
|
|
||||||
if (isparam("preview")) {
|
if (isparam("preview")) {
|
||||||
rsprintf("<tr>\n");
|
rsprintf("<tr>\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user