We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
to_ical()
Version: icalendar==4.0.6 Python: Python 3.7.7
Debug:
ipdb> ical_filtered VCALENDAR({'VERSION': vText('b'2.0''), 'PRODID': vText('b'-//Toodledo iCal//www.toodledo.com//EN''), 'CALSCALE': vText('b'GREGORIAN''), 'METHOD': vText('b'PUBLISH''), 'X-WR-CALNA ME': vText('b'Toodledo iCal''), 'LAST-MODIFIED': <icalendar.prop.vDDDTypes object at 0x108025390>}, VEVENT({'URL': 'http://www.toodledo.com/tasks/index.php?x=1101923#task_2742791 41', 'CREATED': <icalendar.prop.vDDDTypes object at 0x108096890>, 'DTSTAMP': <icalendar.prop.vDDDTypes object at 0x108091f50>, 'LAST-MODIFIED': <icalendar.prop.vDDDTypes object a t 0x108096690>, 'SEQUENCE': 1592197755, 'UID': vText('b'467f687c55004933dc62b03f8f4defd9#toodledo.com''), 'SUMMARY': vText('b'team stand-up meeting''), 'DESCRIPTION': vText('b'Ti me estimate: 15 mins\\nFolder: Routine\\nContext: Work\\nStatus: Waiting''), 'PRIORITY': 5, 'STATUS': vText('b'CONFIRMED''), 'TRANSP': vText('b'OPAQUE''), 'DTSTART': <icalendar.p rop.vDDDTypes object at 0x108096c10>, 'DTEND': <icalendar.prop.vDDDTypes object at 0x108096bd0>, 'CATEGORIES': <icalendar.prop.vCategory object at 0x108096c50>, 'RESOURCES': vTex t('b'Work''), 'RRULE': vRecur({'FREQ': ['WEEKLY'], 'BYDAY': ['MO', 'TU', 'WE', 'TH', 'FR']})})) ipdb> ical_filtered.to_ical() b'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Toodledo iCal//www.toodledo.com//EN\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nLAST-MODIFIED:20200616T003840Z\r\nX-WR-CALNAME:Toodle do iCal\r\nBEGIN:VEVENT\r\nSUMMARY:team stand-up meeting\r\nDTSTART:20200616T094500\r\nDTEND:20200616T100000\r\nDTSTAMP:20200103T120000Z\r\nUID:467f687c55004933dc62b03f8f4defd9#t oodledo.com\r\nSEQUENCE:1592197755\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\r\nCATEGORIES:Routine\r\nCREATED:20200103T120000Z\r\nDESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus\r\n : Waiting\r\nLAST-MODIFIED:20200615T050915Z\r\nPRIORITY:5\r\nRESOURCES:Work\r\nSTATUS:CONFIRMED\r\nTRANSP:OPAQUE\r\nURL:http://www.toodledo.com/ tasks/index.php?x=1101923#task_274279141\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n'
Notice the vText('b'Ti me estimate: 15 mins\\nFolder: Routine\\nContext: Work\\nStatus: Waiting'') was convert to DESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus\r\n : Waiting\r\n.
vText('b'Ti me estimate: 15 mins\\nFolder: Routine\\nContext: Work\\nStatus: Waiting'')
DESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus\r\n : Waiting\r\n
Expected: DESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus: Waiting\r\n.
DESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus: Waiting\r\n
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: icalendar==4.0.6
Python: Python 3.7.7
Debug:
Notice the
vText('b'Ti me estimate: 15 mins\\nFolder: Routine\\nContext: Work\\nStatus: Waiting'')
was convert toDESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus\r\n : Waiting\r\n
.Expected:
DESCRIPTION:Time estimate: 15 mins\\nFolder: Rou tine\\nContext: Work\\nStatus: Waiting\r\n
.The text was updated successfully, but these errors were encountered: