Menu

#14 Fix Date header decoding on leap years

open
nobody
None
7
2012-03-02
2012-03-02
No

There is an error in msg_date_d: 1 day is missing for the month of March on leap years.
On leap years, we need to add 1 day from March, not from April! ("mon > 1" instead of "mon > 2" because month count start at 0)

Here is the patch.

Discussion

  • Benoît Vallée

    Benoît Vallée - 2012-03-02
     
  • Benoît Vallée

    Benoît Vallée - 2012-03-02
    • priority: 5 --> 7
     

Log in to post a comment.