? date-variable.patch Index: chatroom.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/chatroom/chatroom.module,v retrieving revision 1.63.2.80 diff -u -p -r1.63.2.80 chatroom.module --- chatroom.module 15 Jul 2010 00:15:10 -0000 1.63.2.80 +++ chatroom.module 23 Nov 2010 23:59:56 -0000 @@ -1149,7 +1149,7 @@ function chatroom_chat_get_latest_messag $msg->type = $message->msg_type; $msg->uid = $message->uid; $msg->modified = $message->modified; - $msg->date_format = variable_get('chatroom_msg_date_format', 'H:i:s'); + $msg->date_format = variable_get('chatroom_chat_date_format', 'H:i:s'); $msg->public_css_class = variable_get('chatroom_msg_public_class', 'chatroom-msg'); $msg->private_css_class = variable_get('chatroom_msg_private_class', 'chatroom-private'); $msg->themed_username = theme('chatroom_message_username', $message, TRUE); @@ -1215,7 +1215,7 @@ function chatroom_chat_get_themed_messag */ function chatroom_get_message_time_string($timestamp) { $date = new DateTime('@' . ($timestamp + chatroom_get_user_timezone_offset())); - return $date->format(variable_get('chatroom_msg_date_format', 'H:i:s')); + return $date->format(variable_get('chatroom_chat_date_format', 'H:i:s')); } /**