FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 02-12-2009, 11:21 PM
Remo Kaempfer
 
Default ical2sqlite

Hi

I don't really know if I'm at the right address. If it's not, please
send this email forward to the maintainer of ical2sqlite!!
Reoccurring events aren't working completely with the version 0.1

Attached you find the patch for the main.c file

I double checked the values with sqlitebrowser.
The reoccurrencies are perfectly working on my iPhone now!
--- ical2sqlite/src/main.c 2007-12-19 04:45:51.000000000 +0100
+++ ical2sqlite/src/main.c 2009-02-12 20:03:14.000000000 +0100
@@ -236,11 +236,15 @@

switch(recur.freq) {
case ICAL_DAILY_RECURRENCE: frequency = 1; break;
- case ICAL_MONTHLY_RECURRENCE: frequency = 2; break;
- case ICAL_YEARLY_RECURRENCE: frequency = 3; break;
+ case ICAL_WEEKLY_RECURRENCE: frequency = 2; break;
+ case ICAL_MONTHLY_RECURRENCE: frequency = 3; break;
+ case ICAL_YEARLY_RECURRENCE: frequency = 4; break;
}
- until = icaltime_as_timet(recur.until) - epoch;
-
+ if (icaltime_as_timet(recur.until)!=0)
+ until = icaltime_as_timet(recur.until) - epoch;
+ else
+ until=0;
+
int pos = 2, i=0;
bydaybuf[0] = 'D'; bydaybuf[1] = '=';
for(i = 0; recur.by_day[i] != ICAL_RECURRENCE_ARRAY_MAX; i++) {
--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu
 
Old 02-13-2009, 10:42 AM
Morten Kjeldgaard
 
Default ical2sqlite

Hi Remo,

> I don't really know if I'm at the right address. If it's not, please
> send this email forward to the maintainer of ical2sqlite!!
> Reoccurring events aren't working completely with the version 0.1
>
> Attached you find the patch for the main.c file
>
> I double checked the values with sqlitebrowser.
> The reoccurrencies are perfectly working on my iPhone now!

The mailing list is actually not the best place to submit patches,
nobody will know if it gets applied, and after a while people will
forget about it.

The best way to report bugs for Ubuntu is via our bug tracking system at
Launchpad.net.

The procedure is to file the bug under the source package it belongs to,
for your convenience I enclose the relevant link:

https://bugs.launchpad.net/ubuntu/jaunty/+source/ical2sqlite

There's a "Report a Bug" button on that page. The bug report has
facilities for attaching files, so you can attach the patch and tick off
the box that says the attachment is a patch.

You probably need to register/log on to LP first, but with your
programming skills (demonstrated by your patch) you may be able to help
fixing other bugs, so having an account will enable you to help us even
more!

Cheers,
Morten

--
Morten Kjeldgaard <mok0@ubuntu.com>
Ubuntu MOTU Developer
GPG Key ID: 404825E7

--
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu
 

Thread Tools




All times are GMT. The time now is 09:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org