Giter Club home page Giter Club logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Gmail shows two different dates: At thread level (message listing) it shows the 
last update time of the thread 
(which is upload time). When clicking on the thread, Gmail shows the individual 
message dates.

Is Gmail able to extract the date even if it's localized? I.e., is the 
individual message date correct in your 
example?

Original comment by [email protected] on 8 Apr 2009 at 6:28

  • Changed state: Accepted

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
the X-smssync-id-header is localized correctly, so the overview's date is 
shown. the
individual date is not shown by gmail or any mailclient i use (kmail and mutt).

here's a more or less complete header as example:

[...]
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: base64
Date: Mi, 25 Mrz 2009 11:19:37 +0100
References: <lfj5y7lg1r9o7mmd012dt0ex.***@smssync.studer.tv>
X-smssync-id: 42
X-smssync-address: ***
X-smssync-type: 1
X-smssync-date: 1237976377000
X-smssync-thread: 14
X-smssync-read: 1
X-smssync-status: -1
X-smssync-protocol: 0
X-smssync-service_center: ***
X-smssync-backup_time: 29 Mar 2009 20:31:45 GMT
[...]

Original comment by [email protected] on 8 Apr 2009 at 9:39

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
uh, i mean gmail shows the time the thread was updated correctly, the
smssync-backup_time header has nothing to do with this.

just the individual time isn't right, at least for months where the localized 
and
standard values differ, with april's messages for example gmail (and other 
mua's)
show the correct date because the german and english short form for april (apr) 
are
the same. at least at monday and saturday, where the short forms for the day 
are the
same.

Original comment by [email protected] on 9 Apr 2009 at 8:10

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I see, that makes sense. I'll investigate whether I can persuade the mail 
library to 
write times in us-en independent of the Java runtime locale.

Original comment by [email protected] on 9 Apr 2009 at 10:10

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Issue 36 has been merged into this issue.

Original comment by [email protected] on 30 Jul 2009 at 3:04

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Sorry for duplicate.

Maybe adding this piece of code after calling setSentDate in CursorToMessage 
class
will override the mail library bug ?
DateFormat df =  new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 
Z",Locale.ENGLISH);
msg.setHeader("Date", df.format(then));

Haven't tested (still no SDK installed).

Original comment by [email protected] on 30 Jul 2009 at 3:47

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The newest version of the IMAP library I'm using has this bug fixed. 
Unfortunately it introduced other bugs that 
prevented me from releasing an update. I hope to be able to look into it real 
soon(tm).

Original comment by [email protected] on 30 Jul 2009 at 8:29

from android-sms.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I have submitted a new version of the IMAP library in revision r57 and this bug 
should be fixed in the next 
release.

Original comment by [email protected] on 2 Aug 2009 at 10:00

  • Changed state: Fixed

from android-sms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.