Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook calendar requires BYDAY being present in VTIMEZONEs RRULE row #151

Open
horida opened this issue Oct 7, 2019 · 0 comments · May be fixed by py-vobject/vobject#11
Open

Outlook calendar requires BYDAY being present in VTIMEZONEs RRULE row #151

horida opened this issue Oct 7, 2019 · 0 comments · May be fixed by py-vobject/vobject#11

Comments

@horida
Copy link

horida commented Oct 7, 2019

I have this VTIMEZONE block

BEGIN:VTIMEZONE              
TZID:Asia/Dubai              
BEGIN:STANDARD               
DTSTART:20000101T000000      
RRULE:FREQ=YEARLY;BYMONTH=1  
TZNAME:+04                   
TZOFFSETFROM:+0400           
TZOFFSETTO:+0400             
END:STANDARD                 
END:VTIMEZONE                

Because the RRULE block is missing the BYDAY statement, outlook does is not able to parse this. I know that this is compliant code, but anyway, adding BYDAY does not hurt in this case.

Changing from
RRULE:FREQ=YEARLY;BYMONTH=1
to
RRULE:FREQ=YEARLY;BYDAY=1;BYMONTH=1
does the jobs.

This applies to places that do not have any clock change during the year.

I'm using vobject 0.9.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant