--- uc_roles.module.orig	2011-03-24 15:18:39.000000000 +0000
+++ uc_roles.module	2011-03-24 15:20:56.000000000 +0000
@@ -638,8 +638,8 @@
     $default_by_quantity = $product_role->by_quantity;
     if ($product_role->end_time) {
       $end_time = array(
-        'day' => date('d', $product_role->end_time),
-        'month' => date('m', $product_role->end_time),
+        'day' => date('j', $product_role->end_time),
+        'month' => date('n', $product_role->end_time),
         'year' => date('Y', $product_role->end_time),
       );
       $default_end_type = 'abs';
@@ -647,8 +647,8 @@
     else {
       $temp = _uc_roles_get_expiration($default_qty, $default_granularity);
       $end_time = array(
-        'day' => date('d', $temp),
-        'month' => date('m', $temp),
+        'day' => date('j', $temp),
+        'month' => date('n', $temp),
         'year' => date('Y', $temp),
       );
       $default_end_type = 'rel';
@@ -673,8 +673,8 @@
     $default_shippable = $node->shippable;
     $default_by_quantity = variable_get('uc_roles_default_by_quantity', FALSE);
     $end_time = variable_get('uc_roles_default_end_time', array(
-      'day' => date('d'),
-      'month' => date('m'),
+      'day' => date('j'),
+      'month' => date('n'),
       'year' => date('Y'),
     ));
     $default_end_type = variable_get('uc_roles_default_end_expiration', 'rel');
@@ -976,8 +976,8 @@
     '#type' => 'date',
     '#description' => t('When this expiration period will end.'),
     '#default_value' => variable_get('uc_roles_default_end_time', array(
-      'day' => date('d'),
-      'month' => date('m'),
+      'day' => date('j'),
+      'month' => date('n'),
       'year' => date('Y'),
     )),
   );
