Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ical2org.awk
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ BEGIN {
# ... and value 0 doesn't touch them
trimdots = 1;

# add clock reports for the duration of each calendar entry
add_clock_report = 0;

# change this to your name
author = ENVIRON["AUTHOR"] != "" ? ENVIRON["AUTHOR"] : "Marc Sherry"

Expand Down Expand Up @@ -436,7 +439,7 @@ BEGIN {
print " :ATTENDING: " attending_string
print " :ATTENDEES: " join_keys(people_attending)
print " :END:"
if (date2 != "")
if (add_clock_report && date2 != "")
{
# Fake some logbook entries so we can generate a clock report
print " :LOGBOOK:"
Expand Down