Index: modules/locale/locale.datepicker.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.datepicker.js,v
retrieving revision 1.1
diff -u -p -r1.1 locale.datepicker.js
--- modules/locale/locale.datepicker.js	29 Apr 2010 05:15:43 -0000	1.1
+++ modules/locale/locale.datepicker.js	23 Feb 2011 14:43:20 -0000
@@ -36,29 +36,29 @@ $.datepicker.regional['drupal-locale'] =
   ],
   dayNames: [
     Drupal.t('Sunday'),
-    Drupal.t('Monday')
-    Drupal.t('Tuesday')
-    Drupal.t('Wednesday')
-    Drupal.t('Thursday')
-    Drupal.t('Friday')
+    Drupal.t('Monday'),
+    Drupal.t('Tuesday'),
+    Drupal.t('Wednesday'),
+    Drupal.t('Thursday'),
+    Drupal.t('Friday'),
     Drupal.t('Saturday')
   ],
   dayNamesShort: [
-    Drupal.t('Sun')
-    Drupal.t('Mon')
-    Drupal.t('Tue')
-    Drupal.t('Wed')
-    Drupal.t('Thu')
-    Drupal.t('Fri')
+    Drupal.t('Sun'),
+    Drupal.t('Mon'),
+    Drupal.t('Tue'),
+    Drupal.t('Wed'),
+    Drupal.t('Thu'),
+    Drupal.t('Fri'),
     Drupal.t('Sat')
   ],
   dayNamesMin: [
-    Drupal.t('Su')
-    Drupal.t('Mo')
-    Drupal.t('Tu')
-    Drupal.t('We')
-    Drupal.t('Th')
-    Drupal.t('Fr')
+    Drupal.t('Su'),
+    Drupal.t('Mo'),
+    Drupal.t('Tu'),
+    Drupal.t('We'),
+    Drupal.t('Th'),
+    Drupal.t('Fr'),
     Drupal.t('Sa')
   ],
   dateFormat: Drupal.t('mm/dd/yy'),
Index: modules/locale/locale.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.module,v
retrieving revision 1.308
diff -u -p -r1.308 locale.module
--- modules/locale/locale.module	21 Feb 2011 23:51:45 -0000	1.308
+++ modules/locale/locale.module	23 Feb 2011 14:43:21 -0000
@@ -904,10 +904,10 @@ function locale_css_alter(&$css) {
  */
 function locale_library_alter(&$libraries, $module) {
   global $language;
-  if ($module == 'system' && isset($libraries['system']['ui.datepicker'])) {
+  if ($module == 'system' && isset($libraries['ui.datepicker'])) {
     $datepicker = drupal_get_path('module', 'locale') . '/locale.datepicker.js';
-    $libraries['system']['ui.datepicker']['js'][$datepicker] = array('group' => JS_THEME);
-    $libraries['system']['ui.datepicker']['js'][] = array(
+    $libraries['ui.datepicker']['js'][$datepicker] = array('group' => JS_THEME);
+    $libraries['ui.datepicker']['js'][] = array(
       'data' => array(
         'jqueryuidatepicker' => array(
           'rtl' => $language->direction == LANGUAGE_RTL,
