Fixed tsv output: It ignored the last event. - ics2txt - convert icalendar .ics… | |
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 31dd5e1db68625ddd31ab25ce43877ca77df927f | |
parent 6e47747983a5da9b1217fbaca2dc9a61f05f6300 | |
Author: Julian Schweinsberg <[email protected]> | |
Date: Tue, 14 Aug 2018 20:46:51 +0200 | |
Fixed tsv output: It ignored the last event. | |
Diffstat: | |
M ics2txt | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/ics2txt b/ics2txt | |
@@ -158,7 +158,7 @@ function txt(offset) | |
function tsv(offset) | |
{ | |
nb = parse_ical(list, offset); | |
- for (i = 0; i < nb; i++) | |
+ for (i = 1; i <= nb; i++) | |
print(list[i]); | |
} | |