Show both date and time for before today time.

- Fix mails in the list not showing date and time under date column.
This commit is contained in:
Hadi Nategh 2014-10-20 13:29:29 +00:00
parent 4ae871020d
commit 570558ff31

View File

@ -815,10 +815,11 @@ var et2_date_ro = et2_valueWidget.extend([et2_IDetachedDOM],
{
display = date(this.egw().preference('timeformat') == '24' ? 'H:i' : 'g:i a', this.date);
}
// Before today - just the date
// Before today - date and time
else
{
display = date(this.egw().preference('dateformat'), this.date);
display = date(this.egw().preference('dateformat') + " " +
(this.egw().preference('timeformat') == '24' ? 'H:i' : 'g:i a'), this.date);
}
break;
case "date":