Dates that do not display in RoundCube

Started by Scherlock, October 14, 2014, 06:56:19 PM

Previous topic - Next topic

Scherlock

Hello.

I have a problem with the dates of emails in RoundCube. The dates (in the "Inbox" folder and in the "Sent" folder) are not displayed.

I tried with several accounts emails : the problem exists for all emails addresses.

When I sort messages by date, by clicking on "Date" at the top of the column, the emails are sorted chronologically. But the dates are still not displayed.


An idea to solve this problem?

Thank you.

erm3nda

This is usually related to how the system get the info.

Seems you have not set date.timezone on your php.ini file so Roundcube cannot compare dates.

You can set it in a few formats:


  • date.timezone = "UTC"
  • date.timezone = "Europe/Madrid"

Find yours in http://php.net/manual/en/timezones.php

For major coding issues, search on google is by far the faster way.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Scherlock

Thank you! This is the solution. Now I have the dates on my emails. :)

jldtudor

Quote from: Scherlock on October 15, 2014, 07:40:40 PM
Thank you! This is the solution. Now I have the dates on my emails. :)

Hello Scherlock,

I am having the same issue. I changed the date.timezone directive in the php.ini file to no avail.

Is there anything else you did to display the Date stamp in Roundcube?

Thanks

LiXuS

really works ! :)
i use centos 6.7 final
and i have the same problem.
to solve.... :)

i modif php.ini
i type
cd /usr/local/php/
if you type "ls" view the files above
and i use nano editor
nano php.ini
i found
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =

and i modif to :

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone ="Europe/Bucharest"


i use comand line
service httpd restart

to restart apache, perfect ! it's works !! :)
thanks a lot !!

/var/www/home.ro