Compare commits
1 Commits
local
..
acc231027b
| Author | SHA1 | Date | |
|---|---|---|---|
| acc231027b |
@@ -1,4 +1,7 @@
|
||||
A [fzf](https://github.com/junegunn/fzf)-based **calendar** application with CalDav support.
|
||||
If you are interested in this, then you may also be interested in the
|
||||
corresponding journaling application
|
||||
[fzf-vjour](https://github.com/baumea/fzf-vjour).
|
||||
|
||||
Description and Use Case
|
||||
------------------------
|
||||
|
||||
+2
-2
@@ -68,8 +68,8 @@ BEGIN {
|
||||
FAINT = "\033[2m";
|
||||
OFF = "\033[m";
|
||||
}
|
||||
BEGINFILE { inside = 0; rs = 0; dur = 0; summary = ""; start = "ERROR"; end = "" }
|
||||
/^END:VEVENT/ { print "~", start, dur ? start " " end : (end ? end : start), title(start, summary), fn(FILENAME, n, a); nextfile }
|
||||
BEGINFILE { inside = 0; rs = 0; dur = 0; summary = ""; start = "ERROR"; end = "ERROR" }
|
||||
/^END:VEVENT/ { print "~", start, dur ? start " " end : end, title(start, summary), fn(FILENAME, n, a); nextfile }
|
||||
/^DTSTART/ && inside { start = parse( dt) }
|
||||
/^DTEND/ && inside { end = parse( dt) }
|
||||
/^DURATION/ && inside { end = parse_duration( dt, dta, i, n, a, seps); dur = 1 }
|
||||
|
||||
Reference in New Issue
Block a user