g_date_time_format() should have format attribute
g_date_time_format() should be marked with __attribute__((format(strftime, 2, 0)))
so that the compiler can check the format specifiers.
Edited by Christian Persch
g_date_time_format() should be marked with __attribute__((format(strftime, 2, 0)))
so that the compiler can check the format specifiers.