From: Ryan Lortie Date: Sat, 3 Sep 2011 23:44:13 +0000 (-0400) Subject: Revert "g_date_time_format: support %D" X-Git-Tag: 2.29.90~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a636dfd7fbe5757384773460dc01e2727d7ede75;p=platform%2Fupstream%2Fglib.git Revert "g_date_time_format: support %D" This reverts commit 46ce7907720074089040275280bb20208bafeb6a. git-bz mishap (I think?) --- diff --git a/glib/gdatetime.c b/glib/gdatetime.c index a89cf39..8eea23b 100644 --- a/glib/gdatetime.c +++ b/glib/gdatetime.c @@ -2171,10 +2171,6 @@ get_numeric_format (gchar *fmt, * * the day of the month as a decimal number (range 01 to 31) * - * %%D: - * - * equivalent to %%m/%%d/%%y - * * * %%e: * @@ -2454,12 +2450,6 @@ g_date_time_format (GDateTime *datetime, get_numeric_format (fmt, sizeof(fmt), alt_digits, pad_set ? pad : '0', 2); g_string_append_printf (outstr, fmt, g_date_time_get_day_of_month (datetime)); break; - case 'D': - g_string_append_printf (outstr, "%02d/%02d/%02d", - g_date_time_get_month (datetime), - g_date_time_get_day_of_month (datetime), - g_date_time_get_year (datetime)); - break; case 'e': get_numeric_format (fmt, sizeof(fmt), alt_digits, pad_set ? pad : ' ', 2); g_string_append_printf (outstr, fmt, g_date_time_get_day_of_month (datetime));