ics export

Bug #1072534 reported by Andrey Alfaro Alvarado
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Maya
Fix Released
Medium
Marcus Lundgren

Bug Description

Maya has the export function but it makes a file without the .ics format needed to use it in other calendar apps like google calendar and if you use the compress function then you got an .ics file but with some erros, i've taken a look inside the file and i noticed that is very easy to fix the format.

The first thing to do is change the file format to .ics format with an code editor is pretty easy then just add the next lines to code and that's it.

BEGIN:VCALENDAR

        THE ORIGINAL CODE

END:VCALENDAR

Then i think that fix this problem is not so dificult, i've tested this method importing my calendar on google calendar and works like a charm.

Tags: bitesize

Related branches

Changed in maya:
milestone: none → luna-beta2
tags: added: bitesize
Changed in maya:
importance: Undecided → Medium
Revision history for this message
Tristan Davies (tristan.io) wrote :

Sorry about the previous patch, I'd only fixed half of the bug...

Eduard Gotwig (gotwig)
Changed in maya:
status: New → Confirmed
Revision history for this message
Benjamin Beelitz (b-beelitz) wrote :

Hi here is the patch for this bug. In the Utils.vala you see the changes.

Line 412:
 string output = "BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.elementaryos.org/
METHOD:PUBLISH\n";

and Line 440:

output = output + "END:VCALENDAR";

Revision history for this message
Benjamin Beelitz (b-beelitz) wrote :

Here is the patch...

Revision history for this message
Cody Garver (codygarver) wrote :

Benjamin, thanks! Please message me the main email address associate with your launchpad account so I can submit this as a branch for review and give you proper credit.

Revision history for this message
Benjamin Beelitz (b-beelitz) wrote :
Changed in maya:
assignee: nobody → Benjamin Beelitz (b-beelitz)
status: Confirmed → Fix Committed
Changed in maya:
status: Fix Committed → Confirmed
Cody Garver (codygarver)
Changed in maya:
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in maya:
milestone: luna-beta2 → luna-beta3
Cody Garver (codygarver)
Changed in maya:
assignee: Benjamin Beelitz (b-beelitz) → Marcus Lundgren (marcus-lundgren)
status: In Progress → Fix Released
milestone: luna-beta3 → luna-beta2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.