gcalcli icon indicating copy to clipboard operation
gcalcli copied to clipboard

Multi day events are not displayed for the other days.

Open ZaxonXP opened this issue 6 years ago • 2 comments

Using latest version 4.2.0.

When I add an event which is few days long (like holidays trip), then on the calw view I do not see it on the other days (only first day is displayed). I remember it was fixed at some point, but now it is again not working. Can you please fix this?

Regards, Piotr

ZaxonXP avatar Sep 25 '19 13:09 ZaxonXP

This one may be subtle. I tried to repo your case as shown in the screenshot.

two-day

And while dotted line seems to be in the wrong place, the "test two day" event showing up on both Thurs and Fri seem correct. Can you help with a solid repro?

jcrowgey avatar Sep 26 '19 03:09 jcrowgey

I tried the following:

Title: 3 days event
Location: here
When: 2019.09.27 12:00
Duration (minutes): 1440
Description: it should end on saturday 12:00       

And this results only in showing the first day: event

My week.sh script contains:

user@trekstor:~$ cat ~/Batch/week.sh 
#!/bin/bash
PYTHONIOENCODING=utf8

COLS=$(tput cols)
width=$(( ( $COLS  / 7 ) - 1 ))

today=$(date '+%Y%m%d')
weeks=1

if [ $# == 0 ]; then
    date=$today
fi

if [ $# == 1 ]; then
    date=$today
    weeks=$1
fi

if [ $# == 2 ]; then
    date=$1
    weeks=$2
fi

gcalcli calw $date $weeks --monday --military --lineart=ascii --width $width --details length

ZaxonXP avatar Sep 26 '19 07:09 ZaxonXP