dancephoria / gmail-backup-com

Automatically exported from code.google.com/p/gmail-backup-com
GNU General Public License v3.0
0 stars 0 forks source link

Two digit year in email Date line gets put in 1970 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Receive email with malformed Date line containing 2 digit year - Gmail 
displays year correctly
2. Backup email

What is the expected output? What do you see instead?
Email should be stored either using 2 digit year or by guessing century 
correctly or by extracting date from another field.
Email is actually stored and names as if the year were 1970

What version of the product are you using? On what operating system?
Revision 15 (2011-03-07)
Windows 7

Please provide any additional information below.

Here is a sample header. This should have been named
20090214-013902-ebay@ebay_co_uk-Your_watched_eBay_item_is_ending_soon
but was actually named
19700214-013902-ebay@ebay_co_uk-Your_watched_eBay_item_is_ending_soon

Delivered-To: XXXXXXXXXXXXXXXX
Received: by 10.210.125.6 with SMTP id x6cs104600ebc;
        Sat, 21 Feb 2009 05:50:42 -0800 (PST)
Received: by 10.210.38.17 with SMTP id l17mr1585400ebl.192.1235224241384;
        Sat, 21 Feb 2009 05:50:41 -0800 (PST)
Received-SPF: softfail (google.com: domain of transitioning unknown does not 
designate <unknown> as permitted sender)
Received: by 10.241.103.25 with POP3 id 25mf293173ewy.7;
        Sat, 21 Feb 2009 05:50:41 -0800 (PST)
X-Gmail-Fetch-Info: XXXXXXXXXXXXXXXX 2 pop.mail.yahoo.co.uk 110 XXXXXXXXXXXXXXXX
X-Apparently-To: XXXXXXXXXXXXXXXX via 212.82.104.165; Sat, 21 Feb 2009 12:54:32 
+0000
X-YMailISG: 
1.v1TqYWLDt9TeILKZBqRqO_2PIvv_8oRjsdgm3YE5RmEVjO.hPrdomrBYUp_lWERik2HF4VrVTeWR0e
n7LF9AL.W9_PPgLjd9u8Po6N46Xiv4n1yV6Jub35JbiFTqzdXZne2HecLjfneoz.2LBRmTAINWnXF3ha
_mv2_kQhgw8RGS4fSy3ZaEwTiLL99mg.Vg4t9LByoPvbSbGvxsLH6_ltpCW_jZNhuLRvU2fGfYxXEpt7
NuNq_JKBU0zEIJaQ9XLLNgjfSCiutpF3GT2vpA6qwyqEE74.wshdFMTLnzWEI0_0VRARkYWHn1S0hczb
1EkMG2Nil3P3Rpls1cEZYi5c1PKjqx.k_2ciIayqn2XXfGm8A6pCVHsGtKxHNImfWcc-
X-Originating-IP: [66.135.209.216]
Authentication-Results: mta109.mail.ird.yahoo.com  from=ebay.co.uk; 
domainkeys=pass (ok); from=ebay.co.uk; dkim=neutral (no  sig)
Received: from 66.135.209.216  (EHLO mxsmfpool01.ebay.com) (66.135.209.216)
  by mta109.mail.ird.yahoo.com with SMTP; Sat, 21 Feb 2009 12:54:32 +0000
Received: from smfbat44.smf.ebay.com ([10.8.194.232])
    by mxsmfpool01.ebay.com (8.13.8/8.13.8) with ESMTP id n1LCs8j0021741
    for <XXXXXXXXXXXXXXXX>; Sat, 21 Feb 2009 05:54:31 -0700 (GMT)
DomainKey-Signature: a=rsa-sha1; s=dksm28; d=ebay.co.uk; c=nofws; q=dns;
    h=x-ebay-mailtracker:to:from:mime-version:
    content-transfer-encoding:content-type:subject:date:message-id:reply-to:x-ebay-mailversiontracker;
    b=jsutyP5Hx5FMRz6JknmbwHfi56bzoGm0RI1iejEdg9m94iIyTHtj18etSKnBa+BFB
    Mt/PpJQmk0Ue7hBACFYXw==
X-eBay-MailTracker: 11010.595.3.0
To: XXXXXXXXXXXXXXXX
From: eBay <ebay@ebay.co.uk>
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1
Subject: Your watched eBay item is ending soon: XXXXXXXXXXXXXXXX
Date: Sat, 21 Feb 09 05:54:05 GMT-0700
Message-ID: <21941109.1235220845672.JavaMail.ebba@smfbat44>
Reply-To: ebay@ebay.co.uk
X-eBay-MailVersionTracker: 595.7650636

Original issue reported on code.google.com by chrissha...@gmail.com on 21 Mar 2012 at 12:01