Fixed tsv output: It ignored the last event. - ics2txt - convert icalendar .ics file to plain text
(HTM) git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 31dd5e1db68625ddd31ab25ce43877ca77df927f
(DIR) parent 6e47747983a5da9b1217fbaca2dc9a61f05f6300
(HTM) Author: Julian Schweinsberg <pazz0@0xfa.de>
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(-)
---
(DIR) 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]);
}