[imp] IMP (Dynamic) - Date in preview window does not show the time

Luis Felipe Marzagao/Andamentos lfbm.andamentos at gmail.com
Sun Jul 17 15:38:07 UTC 2011


Is it intended for imp to not display the time of the message in
preview window when the msg isn't from the same day?

I can't see why it would hurt to show the message's time in preview
window, since there is a lot of space in there

It's a useful information and this way the user wouldn't have to click
two times on the message just to see the time it has arrived.

I got a lot of complaining from users and solved the matter by
changing line 206 of imp/lib/Views/ShowMessage.php from:

206:     $result['localdate'] = 
htmlspecialchars($imp_mailbox_ui->getDate($envelope->date));

to:

206:     $result['localdate'] = 
htmlspecialchars($imp_mailbox_ui->getDate($envelope->date, 
IMP_Ui_Mailbox::DATE_FULL));

But It's a hack, maybe an ungly one, I don't know.

I'd like to hear from you.

Thanks a lot.
Luis Felipe



More information about the imp mailing list