? 311422_format_date_small.patch
? token_codereview.patch
Index: token.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/token.module,v
retrieving revision 1.7.4.8
diff -u -p -r1.7.4.8 token.module
--- token.module	14 Jul 2008 19:15:10 -0000	1.7.4.8
+++ token.module	14 Oct 2008 00:14:36 -0000
@@ -84,7 +84,7 @@ function token_token_values($type, $obje
       $values['site-slogan']  = variable_get('site_slogan', '');
       $values['site-mission'] = filter_xss_admin(variable_get('site_mission', ''));
       $values['site-mail']    = variable_get('site_mail', '');
-      $values['site-date']    = format_date(time(), 'short', '', variable_get('date_default_timezone', 0));
+      $values['site-date']    = format_date(time(), 'small', '', variable_get('date_default_timezone', 0));
       break;
   }
   return $values;
Index: token_user.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/token_user.inc,v
retrieving revision 1.3.4.2
diff -u -p -r1.3.4.2 token_user.inc
--- token_user.inc	28 Jun 2008 15:10:22 -0000	1.3.4.2
+++ token_user.inc	14 Oct 2008 00:14:36 -0000
@@ -33,11 +33,11 @@ function user_token_values($type, $objec
       $values['user-raw']           = $account->uid ? $account->name : variable_get('anonymous', 'Anonymous');
       $values['uid']            = $account->uid;
       $values['mail']           = $account->uid ? $account->mail : '';
-      $values['reg-date']       = $account->uid ? format_date($account->created, 'short') : '';
+      $values['reg-date']       = $account->uid ? format_date($account->created, 'small') : '';
       $values['reg-since']      = $account->uid ? format_interval($account->created) : '';
-      $values['log-date']       = $account->uid ? format_date($account->access, 'short') : '';
+      $values['log-date']       = $account->uid ? format_date($account->access, 'small') : '';
       $values['log-since']      = $account->uid ? format_interval($account->access) : '';
-      $values['date-in-tz']     = $account->uid ? format_date(time(), 'short', '', $account->timezone) : '';
+      $values['date-in-tz']     = $account->uid ? format_date(time(), 'small', '', $account->timezone) : '';
       $values['account-url']    = $account->uid ? url("user/$account->uid") : '';
       $values['account-edit']   = $account->uid ? url("user/$account->uid/edit") : '';
 
