Date is wrong for restored lines older than a month
If you use a restore_timeout superior to a month, the date in the restored lines older than a month is badly computed. If the message was writen 40 days ago then it is restored as a 10 days ago message (40-30=10).
This can be corrected by remplacing in the function print_conversation_line() of conversation_textview.py the three
strftime('%d'
by
strftime('%j'
So the date is calculated with the number of the day in the year instead of the number of the day in the month. Of course the bug still happend if restore_timeout is superior to a year, but this config should be less frequent.
And yes, I know that restore_timeout is usually set to a less than a day. But if you want to always see the last conversation with a contact with no matter if it was one minute or two month ago, you can achieve this with a small restore_lines and a very big restore_timeout. And this modification shouldn't use more cpu time.