[evolution-patches] Patch for #47471



Ettore and other,
   Please reivew my patch for #47461.
The reason is that under solaris, strftime() won't accept "%P" as a valid format. I have to change it to "%p". The GUI difference is that now "AM/PM" is always in upper case.
   This patch will need to be checked into 1.4 branch, too.
   I guess it breaks string freeze.
      Thanks!
      Harry
Index: evolution/my-evolution/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/my-evolution/ChangeLog,v
retrieving revision 1.294
diff -u -r1.294 ChangeLog
--- evolution/my-evolution/ChangeLog	25 Jun 2003 15:15:27 -0000	1.294
+++ evolution/my-evolution/ChangeLog	11 Aug 2003 07:11:17 -0000
@@ -1,3 +1,10 @@
+2003-08-11  Harry Lu  <harry lu sun com> 
+
+	** For #47461.
+
+	* e-summary-calendar.c: (generate_html): Change "%P" to "%p" so
+	that strftime() can work under solaris.
+
 2003-06-23  Dan Winship  <danw ximian com>
 
 	* e-summary-calendar.c (setup_gconf_client): Don't call
Index: evolution/my-evolution/e-summary-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution/my-evolution/e-summary-calendar.c,v
retrieving revision 1.45
diff -u -r1.45 e-summary-calendar.c
--- evolution/my-evolution/e-summary-calendar.c	25 Jun 2003 15:15:27 -0000	1.45
+++ evolution/my-evolution/e-summary-calendar.c	11 Aug 2003 07:11:18 -0000
@@ -405,7 +405,7 @@
 			if (calendar->wants24hr == TRUE) {
 				strftime (start_str, sizeof start_str, _("%k:%M %d %B"), &start_tm);
 			} else {
-				strftime (start_str, sizeof start_str, _("%l:%M%P %d %B"), &start_tm);
+				strftime (start_str, sizeof start_str, _("%l:%M%p %d %B"), &start_tm);
 			}
 
 			if (cal_component_has_alarms (event->comp)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]