iCal import to an item note file is extended from DESCRIPTION to LOCATION, COMMENT and STATUS for both events and todos. Addresses GitHub issue #9. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
94 lines
2.0 KiB
Plaintext
94 lines
2.0 KiB
Plaintext
BEGIN:VCALENDAR
|
|
VERSION:2.0
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T204500
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:event with one-line description
|
|
DESCRIPTION:event with one-line description
|
|
END:VEVENT
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T204500
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:description and location
|
|
DESCRIPTION:event with description\nand location
|
|
LOCATION: Right here
|
|
END:VEVENT
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T084100
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:No description. Comment and status
|
|
COMMENT:Event without description: a comment\nstreching over\nthree lines
|
|
STATUS:CONFIRMED
|
|
END:VEVENT
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T084100
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:Empty description
|
|
DESCRIPTION:
|
|
END:VEVENT
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T084100
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:Empty description\, but comment
|
|
DESCRIPTION:
|
|
COMMENT:event with empty description
|
|
END:VEVENT
|
|
|
|
BEGIN:VEVENT
|
|
DTSTART:20200404T204500
|
|
DURATION:PT1H30M0S
|
|
SUMMARY:description\, status\, comment and location
|
|
DESCRIPTION:event with\ndescription\nstatus\ncomment\nand location
|
|
LOCATION: Right here
|
|
COMMENT:just a repetition of description:\nevent with\ndescription\nstatus\ncomment\nand location
|
|
STATUS:CANCELLED
|
|
END:VEVENT
|
|
|
|
BEGIN:VTODO
|
|
PRIORITY:2
|
|
SUMMARY:todo with one-line description
|
|
DESCRIPTION:todo with one-line description
|
|
END:VTODO
|
|
|
|
BEGIN:VTODO
|
|
PRIORITY:3
|
|
SUMMARY:description and location
|
|
DESCRIPTION:todo with description\nand location
|
|
LOCATION: Right here
|
|
END:VTODO
|
|
|
|
BEGIN:VTODO
|
|
PRIORITY:4
|
|
SUMMARY:Comment and status
|
|
COMMENT:Todo with out description. A comment\nstreching over\nthree lines
|
|
STATUS:NEEDS-ACTION
|
|
END:VTODO
|
|
|
|
BEGIN:VTODO
|
|
PRIORITY:5
|
|
SUMMARY:Empty description
|
|
DESCRIPTION:
|
|
END:VTODO
|
|
|
|
BEGIN:VTODO
|
|
PRIORITY:6
|
|
SUMMARY:Empty description\,but status
|
|
DESCRIPTION:
|
|
STATUS:COMPLETED
|
|
END:VTODO
|
|
|
|
BEGIN:VTODO
|
|
SUMMARY:todo with description\, status\, comment and location
|
|
DESCRIPTION:todo with\ndescription\nstatus\ncomment\nand location\,\nbut no priority
|
|
LOCATION: Right here
|
|
COMMENT:mostly a repetition of description:\ntodo with\ndescription\nstatus\ncomment\nand location
|
|
STATUS:IN-PROCESS
|
|
END:VTODO
|
|
|
|
END:VCALENDAR
|