Menu

#44 Dates on ASK queue report are wrong

open
nobody
5
2006-01-19
2006-01-19
No

The "Date: " fields for all the queued mail always
shows up as the date that the report is run, not the
date of the queued message.

The one-line fix is attached.

Discussion

  • Kayvan Sylvan

    Kayvan Sylvan - 2006-01-19

    Logged In: YES
    user_id=231086

    Here is the fix...

     
  • Kayvan Sylvan

    Kayvan Sylvan - 2006-01-19
     
  • Kayvan Sylvan

    Kayvan Sylvan - 2006-01-19

    Logged In: YES
    user_id=231086

    Just in case the attached file does not work correctly, here
    is the patch as well:

    Index: askremote.py

    RCS file: /cvsroot/a-s-k/ask/askremote.py,v
    retrieving revision 1.59
    diff -u -r1.59 askremote.py
    --- askremote.py 9 Jan 2006 04:22:27 -0000 1.59
    +++ askremote.py 19 Jan 2006 02:16:37 -0000
    @@ -384,7 +384,7 @@

    msg_date = ""
    try:
    - msg_date = time.ctime()
    + msg_date =
    aMessage.msg.getheader("Date", "")
    except:
    pass

     

Log in to post a comment.