diff options
author | cketti <ck@cketti.de> | 2020-06-04 13:33:59 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-06-05 08:22:34 +0000 |
commit | 2408fbe92d3c5afeb51563af6f0868a54e046fed (patch) | |
tree | 6aa1b20044c2a0684da9afd817839ff93cccea87 /ext | |
parent | 8396e16f851c0c9b9ccb6979f35485f48886cccd (diff) | |
download | gstreamer-plugins-bad-2408fbe92d3c5afeb51563af6f0868a54e046fed.tar.gz |
curlsmtpsink: Use correct email date format
See https://www.rfc-editor.org/rfc/rfc5322.html#section-3.3
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1317>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/curl/gstcurlsmtpsink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index 690c4ab95..612594c38 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 |