only the time.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5321
7612ce4b-ef26-0410-bec9-
ea0150e637f0
of cyrus. (#766577).
- Added feature to allow user to switch on full date display in mailboxes instead
of just partial date/time based on time of email, and current date.
+ - Fixed bug that would cause e-mails dated in the future to be displayed with only
+ the time.
**************************************
*** SquirrelMail Stable Series 1.4 ***
$dateZ = - $dateZ;
}
$midnight = $now - ($now % 86400) - $dateZ;
+ $nextmid = $midnight + 86400;
- if ($show_full_date == 1) {
+ if (($show_full_date == 1) || ($nextmid < $stamp)) {
$date_format = _("M j, Y");
} else if ($midnight < $stamp) {
/* Today */