aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-30 03:35:37 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-30 03:35:37 +0800
commitdf5427ac094df5011fe6decec383c3e71a8c68a3 (patch)
tree8bbfad30a9e3ee693646a51aff4d99c94354e097 /calendar
parent07a33f25f2af378c171e9cc2a8388fc21572e814 (diff)
downloadgsoc2013-evolution-df5427ac094df5011fe6decec383c3e71a8c68a3.tar.gz
gsoc2013-evolution-df5427ac094df5011fe6decec383c3e71a8c68a3.tar.zst
gsoc2013-evolution-df5427ac094df5011fe6decec383c3e71a8c68a3.zip
handle date values
2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (is_all_day): handle date values svn path=/trunk/; revision=14357
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b881d16f24..53b6c7e950 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-29 JP Rosevear <jpr@ximian.com>
+
+ * conduits/calendar/calendar-conduit.c (is_all_day): handle date
+ values
+
2001-10-29 Rodrigo Moya <rodrigo@ximian.com>
* importers/: added evolution-calendar-importer binary, starting
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 832651eb64..fcd976355d 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -346,6 +346,9 @@ is_all_day (CalClient *client, CalComponentDateTime *dt_start, CalComponentDateT
{
time_t dt_start_time, dt_end_time;
icaltimezone *timezone;
+
+ if (dt_start->value->is_date && dt_end->value->is_date)
+ return TRUE;
timezone = get_timezone (client, dt_start->tzid);
dt_start_time = icaltime_as_timet_with_zone (*dt_start->value, timezone);
@@ -537,7 +540,7 @@ local_record_from_comp (ECalLocalRecord *local, CalComponent *comp, ECalConduitC
CalComponentText *description;
CalComponentDateTime dt_start, dt_end;
CalComponentClassification classif;
- icaltimezone *default_tz = get_default_timezone ();
+ icaltimezone *default_tz = ctxt->timezone;
int i;
g_return_if_fail (local != NULL);
it/lang/python22?h=mate-1.16&id=c3ede8549b3c1a391eda9e4f805c4f0c04031f28'>- Update lang/python-devel to Python-2.4 031022 snapshot.perky2003-10-301-4/+4 * Don't use PYTHON_DISTFILE as well as PYTHON_WRKSRC on lang/python* portsperky2003-10-221-2/+2 * Utilize PYTHON_SITE_SUBDIR.perky2003-10-191-1/+1 * - Add python22 as an alternative version.perky2003-08-013-13/+25 * Set per-thread stack size to 0x20000 (default) or 0x100000perky2003-07-091-1/+6 * o Utilize MASTER_SITE_PYTHON.perky2003-07-042-4/+9 * Take maintainerships from alane's python ports.perky2003-06-091-1/+1 * REST IN PEACEwill2003-06-091-1/+1 * Update to 2.2.3perky2003-06-043-4/+62 * Destroy pkg-comment for some of the stranger uses in the tree,ade2003-03-072-1/+1 * PORTREVSION => 2.alane2002-11-222-170/+2 * PORTREVISION => 1alane2002-11-221-0/+12 * PORTREVISION => 1alane2002-11-222-2/+168 * Simplified threads configuration.alane2002-11-211-3/+5 * Take over as maintainer since tg is taking a leave of absence from portalane2002-11-161-1/+1 * Upgrade to Python-2.2.2.perky2002-10-175-30/+44 * Use new PYTHONPREFIX_*DIR variables to make these ports PREFIX-clean.tg2002-06-141-6/+6 * Fix building on the Alpha.tg2002-05-162-4/+10 * Add patch from SF PR #541980. This fixes 4suite.tg2002-04-171-0/+14 * Upgrade to Python-2.2.tg2002-04-124-64/+6 * Add SourceForge as a well connected secondary MASTER_SITES location.tg2002-04-021-0/+2 * Explicitly enable IPv6 support.tg2002-04-021-2/+8 * Fix sizeof(wchar_t) calculation.tg2002-01-211-0/+10 * Implement PyObject_DelItemString(), which was obviously forgotten fortg2002-01-162-0/+57 * Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.tg2002-01-074-134/+346 * Re-add fpectl.so to the plist to fix packaging. Re-enable supporttg2001-11-202-2/+2 * Don't build mpz extension, it's moved to a separate port.tg2001-10-193-10/+3 * Depend on math/libgmp when running a recent -current.tg2001-09-251-0/+6 * Upgrade to 2.1.1.tg2001-07-253-2/+10 * Upgrade to 2.1.tg2001-05-0212-1169/+876 * Fix building on -current.tg2001-04-261-0/+38 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-301-2/+2 * Allow MAINTAINER to be redefined in a slave port.sobomax2001-03-291-1/+1 * MASTER_SITE changed.tg2000-12-071-1/+2 * Install Demo/ dir to $PREFIX/share/examples/python.tg2000-11-29