From 9ddcc79502349e02a1e796b363d891e177337af5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen <mclasen@redhat.com> Date: Thu, 1 Nov 2018 12:00:58 -0400 Subject: [PATCH] Remove the G_GNUC_STRFTIME format check This does not work, since g_date_time_format() supports non-standard extensions such as %:::z, and this has broken several consumers which use format errors, such as ostree. --- glib/gdatetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gdatetime.h b/glib/gdatetime.h index 20167a60d..8bf8cd98d 100644 --- a/glib/gdatetime.h +++ b/glib/gdatetime.h @@ -261,7 +261,7 @@ GDateTime * g_date_time_to_utc (GDateTi GLIB_AVAILABLE_IN_ALL gchar * g_date_time_format (GDateTime *datetime, - const gchar *format) G_GNUC_MALLOC G_GNUC_STRFTIME (2); + const gchar *format); G_END_DECLS