aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-08-22 23:40:39 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-08-22 23:40:39 +0800
commit8b36f00ff0585622b34b8352218302abb7626a3b (patch)
tree7020906a8adaa54b6ca4b3f8a1072a55299049ef /widgets/misc
parent51e6a4e0ac56d46cf977d7f0e61f88e4c5134c22 (diff)
downloadgsoc2013-evolution-8b36f00ff0585622b34b8352218302abb7626a3b.tar.gz
gsoc2013-evolution-8b36f00ff0585622b34b8352218302abb7626a3b.tar.zst
gsoc2013-evolution-8b36f00ff0585622b34b8352218302abb7626a3b.zip
don't adjust for two digit dates here, the e_time_parse routines do that
2002-08-22 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_parse_date): don't adjust for two digit dates here, the e_time_parse routines do that now svn path=/trunk/; revision=17834
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-dateedit.c15
2 files changed, 5 insertions, 15 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 4cf470a49a..a83904bc7f 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-22 JP Rosevear <jpr@ximian.com>
+
+ * e-dateedit.c (e_date_edit_parse_date): don't adjust for two
+ digit dates here, the e_time_parse routines do that now
+
2002-08-06 Not Zed <NotZed@Ximian.com>
* e-filter-bar.c (menubar_activated): Set the query text into the
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index e8f6e74aea..5a99e3e8fc 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -1434,24 +1434,9 @@ e_date_edit_parse_date (EDateEdit *dedit,
gchar *date_text,
struct tm *date_tm)
{
- struct tm *tmp_tm;
- time_t t;
-
if (e_time_parse_date (date_text, date_tm) != E_TIME_PARSE_OK)
return FALSE;
- /* If the user entered a 2-digit year we use the current century. */
- if (date_tm->tm_year < 0) {
- t = time (NULL);
- tmp_tm = localtime (&t);
-
- /* This should convert it into a value from 0 to 99. */
- date_tm->tm_year += 1900;
-
- /* Now add on the century. */
- date_tm->tm_year += tmp_tm->tm_year - (tmp_tm->tm_year % 100);
- }
-
return TRUE;
}
2b9eb36d4d'>** Fix for bug #514987Milan Crha2008-02-153-1/+45 * Google Calendar alarm works now.Srinivasa Ragavan2008-02-112-1/+9 * String changes for improved error-messages and a schema-description. Suman Manjunath2008-02-114-4/+15 * ** Part of fixes for bug #395939Milan Crha2008-02-083-4/+17 * ** Fix for bug #240073Milan Crha2008-01-292-2/+10 * Patch from Chenthill Palanisamy <pchenthill@novell.com> (Fix memory leak whi...Suman Manjunath2008-01-282-0/+6 * Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #355864 (Calendar c...Suman Manjunath2008-01-282-11/+33 * Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #240073 (Cancelled ...Suman Manjunath2008-01-284-9/+32 * ** Fix for bug #475781Milan Crha2008-01-2510-36/+108 * ** Fix for bug #510409Milan Crha2008-01-256-4/+24 * Link with libefilterbar.Tor Lillqvist2008-01-252-0/+6 * ** Fix for bug #402487Milan Crha2008-01-242-3/+10 * ** Fix for bug #337046Srinivasa Ragavan2008-01-242-3/+17 * Port to libsoup 2.4. Plug a leak.Dan Winship2008-01-172-10/+15 * ** Fix for bug #509879Milan Crha2008-01-172-17/+8 * Fix for bug #426159 (Allow users to snooze for 1+ hour 0 minutes)Suman Manjunath2008-01-173-1/+13 * ** Fix for bug #333695Milan Crha2008-01-152-3/+14 * Patch from Milan Crha <mcrha@redhat.com> Fix for bug #333695 (Print attendee...Suman Manjunath2008-01-142-1/+107 * Patch from Milan Crha <mcrha@redhat.com> Fix for bug #507359 (Free/Busy UI n...Suman Manjunath2008-01-144-8/+43 * Patch from Milan Crha <mcrha@redhat.com> Fix for bug #490464 (Memo editor hi...Suman Manjunath2008-01-142-8/+56 * Fix for bug #339620 (Disconnect signal handlers in the destroy_handler of rec...Suman Manjunath2008-01-142-0/+14 * Patch from Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Fix for b...Suman Manjunath2008-01-143-3/+10 * ** Fix for bug #508731Srinivasa Ragavan2008-01-122-0/+10 * ** Fix for bug #457842Milan Crha2008-01-104-2/+31 * Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 (U...Suman Manjunath2008-01-072-2/+11 * Fixes bug #270605 (Hide disabled accounts in memo-editor) + Show organizers o...Suman Manjunath2008-01-064-34/+66 * Refix the last patchSrinivasa Ragavan2008-01-032-1/+5 * ** Fix for bug #506814Srinivasa Ragavan2008-01-033-2/+12 * ** Fixes bug #362638Matthew Barnes2007-12-214-263/+159 * ** Fixes bug 474651Tobias Mueller2007-12-146-9/+10 * ** Fix for bug #340267Milan Crha2007-12-133-4/+13 * ** Fix for bug #501969 Passwords should not be forgotten for all errorsSankar P2007-12-112-0/+20 * ** Fixes bug 474651Tobias Mueller2007-12-103-3/+3 * ** Fixes bug #392747 (extra cleanup work)Matthew Barnes2007-12-066-112/+75 * ** Fix for bug #501474Milan Crha2007-12-052-3/+11 * ** Fix for bug #354265David Turner2007-12-044-5/+14 * Fixes #501182.Wang Xin2007-12-042-1/+8 * ** Fix for bug #440497Milan Crha2007-12-046-27/+45 * ** Fixes bug #392747Matthew Barnes2007-12-032-12/+12 * ** Fix for bug #325730Milan Crha2007-11-303-6/+22 * ** Fix for bug #500024Milan Crha2007-11-282-0/+7 * ** Fix for bug #214645Milan Crha2007-11-273-36/+97 * ** Fix for bug #346693Milan Crha2007-11-262-7/+20 * ** Fix for bug #380644Milan Crha2007-11-268-12/+72 * ** Fix for bug #325730Milan Crha2007-11-234-5/+26 * ** Fix for bug #484603Milan Crha2007-11-232-0/+9 * ** Fix for bug #401337Milan Crha2007-11-193-3/+16 * ** Fix for bug #495875Gilles Dartiguelongue2007-11-184-3/+24 * ** Fix for bug #492793Milan Crha2007-11-165-11/+22 * ** Remove trailing whitespace from source code.Matthew Barnes2007-11-15146-4876/+4876 * ** Fix for bug #494323Ondrej Jirman2007-11-142-15/+6 * ** Fix for bug #496248Andre Klapper2007-11-132-1/+8 * ** Fix for bug #209425Michael Monreal2007-11-103-8/+18 * ** Fix for bug #491345Milan Crha2007-11-052-0/+8 * ** Fix for bug #353780Milan Crha2007-11-053-8/+37 * ** Fix for bug #341085Milan Crha2007-11-052-2/+9 * ** Fix for bug #359267Milan Crha2007-11-052-1/+8 * ** Fix for bug #351932Milan Crha2007-11-052-2/+160 * ** Fix for bug #315101Milan Crha2007-11-057-121/+442 * ** Fix for bug #318604Milan Crha2007-11-0514-15/+129 * ** Fix for bug #346693Milan Crha2007-11-055-146/+313 * ** Remove dead files from source control. The dates below indicate whenMatthew Barnes2007-11-0311-2810/+17 * ** Fixes bug #492058Damien Carbery2007-11-03