Menu

#2269 Incorrect date displayed

open
nobody
5
2006-09-20
2006-09-20
Anonymous
No

In Message List view some messages have incorrect date
displayed.
For example:
Sat, 26 Aug 2006 11:20:16 EST ||| 1156609216 ||| Aug
26, 2006
Sat, 26 Aug 2006 11:22:27 +0100 ||| 1156587747 ||| Aug
26, 2006
Sun, 27 Aug 2006 01:28:64 +0900 ||| -21600 ||| Dec 31, 1969
Sat, 26 Aug 2006 19:27:32 +0300 ||| 1156609652 ||| Aug
26, 2006

In each row variables:
First - $tmpdate [0], [1], [2], [3], [4] and [5]
Second - $messages[$msgi]['TIME_STAMP']
Third - $messages[$msgi]['DATE_STRING']
--
KSB
ksb@inbox.lv

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-21

    Logged In: YES
    user_id=225877

    Please provide information about used IMAP server and
    SquirrelMail version. Please show message Date header.

     
  • Nobody/Anonymous

    Logged In: NO

    IMAP - Dovecot 1.0.rc7
    Squrrelmail 1.4.8

    Shortened message header(Dec 31, 1969):
    Received: from localhost (localhost [127.0.0.1])
    by xx (Postfix) with ESMTP id 08D43221738
    for <xx>; Sat, 26 Aug 2006 19:29:40 +0300 (EEST)
    Received: from xx (unknown [xx])
    by xx (Postfix) with ESMTP id CAE7E221089
    for <xx>; Sat, 26 Aug 2006 19:29:37 +0300 (EEST)
    Received: from xx (port=5059 helo=ib0oychgwsd4)
    by xx with smtp
    id L7mM-48TP7-WLp
    for xx; Sun, 27 Aug 2006 01:28:64 +0900
    Date: Sun, 27 Aug 2006 01:28:64 +0900
    MIME-Version: 1.0
    X-Mailer: Microsoft Outlook Express 6.00.2900.2180
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180

    I think, there is need for incorrect date/time handling
    (01:28:64)

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-21

    Logged In: YES
    user_id=225877

    Options -> Display Preferences -> Sort by Received Date

    Is it enabled?

     
  • Nobody/Anonymous

    Logged In: NO

    > Options -> Display Preferences -> Sort by Received Date
    > Is it enabled?

    Enabled

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-21

    Logged In: YES
    user_id=225877

    Could you take a look at SquirrelMail mailbox listing, find
    url used to access message with invalid date, and check
    passed_id argument.

    For example
    https://some-server/squirrelmail/src/read_body.php?mailbox=INBOX&passed_id=64988&startMessage=1

    passed_id is equal to 64988

    then enable info plugin, go to options -> IMAP server
    information

    Enable Test_0 with 'SELECT INBOX' command and execute 'UID
    FETCH 64988 (INTERNALDATE BODY[HEADER.FIELDS (DATE)])'
    command without single quotes in some other test. Replace
    64988 with your passed_id value.

    Show returned result.

     
  • Nobody/Anonymous

    Logged In: NO

    Request:
    A004 UID FETCH 1067 (INTERNALDATE BODY[HEADER.FIELDS (DATE)])
    Response:
    * 74 FETCH (INTERNALDATE "26-Aug-2006 19:29:40 +0300" UID
    1067 BODY[HEADER.FIELDS (DATE)] {41}
    Date: Sun, 27 Aug 2006 01:28:64 +0900
    )
    Fetch completed.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2007-02-27

    Logged In: YES
    user_id=285765
    Originator: NO

    Hmm, this displays ok with me. Maybe this is somehow related to your IMAP server?

    Does the problem still occur with recent versions of IMAP server and/or SquirrelMail?

     

Log in to post a comment.