--- a/libpurple/util.c Wed Oct 02 02:59:54 2019 -0400 +++ b/libpurple/util.c Wed Oct 02 03:27:00 2019 -0400 @@ -645,16 +645,6 @@ /* Quarter */ case 'Q': - if (count <= 2) { - /* Numerical */ - } else if (count == 3) { - /* Abbreviation */ - } else if (count >= 4) { - /* Full */ - count = 4; - } - break; - /* Stand-alone Quarter */ case 'q': if (count <= 2) { @@ -669,21 +659,6 @@ /* Month */ case 'M': - if (count <= 2) { - /* Numerical */ - g_string_append(string, purple_utf8_strftime("%m", tm)); - } else if (count == 3) { - /* Abbreviation */ - g_string_append(string, purple_utf8_strftime("%b", tm)); - } else if (count == 4) { - /* Full */ - g_string_append(string, purple_utf8_strftime("%B", tm)); - } else if (count >= 5) { - g_string_append_len(string, purple_utf8_strftime("%b", tm), 1); - count = 5; - } - break; - /* Stand-alone Month */ case 'L': if (count <= 2) { @@ -825,14 +800,6 @@ /* Hour (0-11) */ case 'K': - if (count == 1) { - /* No padding */ - } else if (count >= 2) { - /* Zero-padded */ - count = 2; - } - break; - /* Hour (1-24) */ case 'k': if (count == 1) {