Roundcube date format


By default, Roundcube displays dates like 24.09.2011 -- nonsensical to U.S. standards (the ninth day of the 24th month?). We want to use ISO 8601 standard dates like 2011-09-24.

Fortunately, this turns out to be simple. The hardest part is finding the for your particular Roundcube installation. If you have used Virtualmin's script installers, it will probably be /home/yourdomain/public_html/roundcube/config/ ... your mileage may vary.

Only one line has to e changed, from :

$rcmail_config['date_long'] = 'd.m.Y H:i';


$rcmail_config['date_long'] = 'Y-m-d H:i';

I have not yet found a way to change from 24-hour to 12-hour am/pm times, though.