From a636dfd7fbe5757384773460dc01e2727d7ede75 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sat, 3 Sep 2011 19:44:13 -0400 Subject: [PATCH] Revert "g_date_time_format: support %D" This reverts commit 46ce7907720074089040275280bb20208bafeb6a. git-bz mishap (I think?) --- glib/gdatetime.c | 10 ---------- 1 file changed, 10 deletions(-) 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)); -- 2.7.4