? .buildpath ? .project ? .settings ? clock-null-string.patch ? months[month]_undefined-7.x-1.x.patch ? months[month]_undefined.patch Index: clock.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/clock/clock.module,v retrieving revision 1.10.2.8 diff -u -p -r1.10.2.8 clock.module --- clock.module 13 Dec 2010 20:57:11 -0000 1.10.2.8 +++ clock.module 19 Dec 2010 12:02:18 -0000 @@ -247,8 +247,9 @@ function theme_clock($variables) { drupal_add_js(drupal_get_path('module', 'clock') . '/clock.js'); // Create variables that are needed for the JavaScript time calculation. - // Create a time string. - $time = date_format_date(date_now($time_zone), $type = 'custom', $format = 'F j, Y H:i:s'); + // Create a time string, from which JavaScript can create a date. The time + // string contains the month name, which needs to be in English. + $time = date_format_date(date_now($time_zone), $type = 'custom', $format = 'F j, Y H:i:s', $langcode = 'en'); // Get the name of the offset, e.g. 'GMT'. $offset_name = date_format_date(date_now($time_zone), $type = 'custom', $format = 'T'); // Get the time zone offset in seconds.