When you get the Ooops message what does it say in the Roundcube error log? If what you pasted in your post is accurate then its a typo.
$config['time_format'] = ‘H:i’; // contains smart quotes
$config['time_format'] = 'H:i'; // no smart quotes
you cannot use smart quotes to enclose strings in PHP.