Skip to content

Commit 3fa2c3e

Browse files
committed
attempt fixing large calendars issue
1 parent 256e27f commit 3fa2c3e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ async function insertJournalBlocks(data, preferredDateFormat:string, calendarNam
190190
let endTime = formatTime(data[dataKey]["end"], settings)
191191
let location = data[dataKey]["location"]
192192
let summary
193-
if (data[dataKey]["summary"]["val"]){
194-
summary = data[dataKey]["summary"]["val"]
195-
}
196-
else{
193+
// if (data[dataKey]["summary"]["val"]){
194+
// summary = data[dataKey]["summary"]["val"]
195+
// }
196+
// else{
197197
summary = data[dataKey]["summary"]
198-
}
198+
// }
199199
// using user provided template
200200
let headerString = templateFormatter(settings.template, description, startDate, startTime, endTime, summary, location)
201201
if (startDate.toLowerCase() == emptyToday.toLowerCase()){

0 commit comments

Comments
 (0)