From 2408fbe92d3c5afeb51563af6f0868a54e046fed Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 4 Jun 2020 13:33:59 +0200 Subject: [PATCH] curlsmtpsink: Use correct email date format See https://www.rfc-editor.org/rfc/rfc5322.html#section-3.3 Part-of: --- ext/curl/gstcurlsmtpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index 690c4ab950..612594c383 100644 --- a/ext/curl/gstcurlsmtpsink.c +++ b/ext/curl/gstcurlsmtpsink.c @@ -635,7 +635,7 @@ gst_curl_smtp_sink_set_transfer_options_unlocked (GstCurlBaseSink * bcsink) /* time */ date = g_date_time_new_now_local (); - date_str = g_date_time_format (date, "%a %b %e %H:%M:%S %Y %z"); + date_str = g_date_time_format (date, "%a, %e %b %Y %H:%M:%S %z"); g_date_time_unref (date); /* recipient, sender and subject are all UTF-8 strings, which are additionally