mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
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>
This commit is contained in:
parent
8396e16f85
commit
2408fbe92d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue