Page MenuHomekolab.org

DATE field not populating in Roundcube email view
Closed, ResolvedPublic

Description

DATE field is blank in the email list, reading pane, and in the discreet window view of email.
Occurs for all mail in all acounts. Changing theme for roundmail does not affect the issue. System restart does not affect the issue.
Version: pykolab-0.8.10-1.6.el7.kolab_16.noarch

Details

Ticket Type
Task

Event Timeline

vanmeeuwen lowered the priority of this task from Needs Triage to Normal.Mar 27 2019, 9:15 AM
vanmeeuwen moved this task from Backlog to Reviewed on the Bug Reports board.
vanmeeuwen added a subscriber: vanmeeuwen.

Viewing "details" and perhaps even the mail headers, is there a Date header that you see in the sources of the email?

Is there any additional insight from a 'right-click, inspect element' type of thing you might do in Firefox?

Check Roundcube error log. It might be caused by invalid/missing timezone setting in php.ini.

vanmeeuwen. - Time stamp is there in source and timezone is correct: Mon, 25 Mar 2019 23:53:00 -0400

machniak. - There was an error in roundcube mail for "PHP Warning: strtotime(): Invalid date.timezone value 'America/New York', we selected the timezone 'UTC' for now."
Checked php.ini and the correct time zone was in the Date & Time section, but for some reason was inserted under the "; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333: statement, I erased that entry and put it in the proper spot, restarted httpd, and I am good to go now. I have definitely never edited php.ini manually so I have to think it was some script error that placed it there.

Thank you both for the quick solutions!

quitcomplaining closed this task as Resolved.Mar 31 2019, 5:55 AM
quitcomplaining claimed this task.

Updated /etc/php.ini and moved the "date.timezone = America/New_York" setting to it's correct position under MODULE settings > "Date > ; http://php.net/date.timezone".
It had been entered under MODULE settings > Date > "; http://php.net/date.sunset-zenith" erroneously.
After saving the edit, I restarted, httpd and timestamps started showing up properly.