After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724125 - curlsmtpsink: Timezone information is missed out in the sending out smtp email header
curlsmtpsink: Timezone information is missed out in the sending out smtp emai...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-11 15:28 UTC by Lihua Liu
Modified: 2014-02-11 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch file after added the timezone information in the code. (932 bytes, patch)
2014-02-11 15:28 UTC, Lihua Liu
committed Details | Review

Description Lihua Liu 2014-02-11 15:28:43 UTC
Created attachment 268801 [details] [review]
Patch file after added the timezone information in the code.

The bug happens in the file: gst-plugins-bad/gst-plugins-bad/ext/curl/gstcurlsmtpsink.c
----------------------------------------------------------------------------
The code : 
date_str = g_date_time_format (date, "%a %b %e %H:%M:%S %Y");
changed to
date_str = g_date_time_format (date, "%a %b %e %H:%M:%S %Y %z");
----------------------------------------------------------------------------

This is in order to add timezone information inside of sending out email header, so when the email arrived at the recipient, it won't show a wrong timestamp.
Comment 1 Sebastian Dröge (slomo) 2014-02-11 20:04:47 UTC
commit f3464e01bba5c7e918d4d1bec96e1a542d117935
Author: Lihua Liu <lihual@axis.com>
Date:   Tue Feb 11 15:20:58 2014 +0100

    curlsmtpsink: Include timezone information in mail header
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724125