Guest Posted November 27, 2003 Posted November 27, 2003 Is there any particular reason why the month number is not included in the drop down menu for the credit card expiration date? It's a simple change: $ diff -Naur catalog/includes/modules/payment/cc.php~ catalog/includes/modules/payment/cc.php --- catalog/includes/modules/payment/cc.php~ Tue Feb 4 01:55:01 2003 +++ catalog/includes/modules/payment/cc.php Wed Nov 26 22:48:21 2003 @@ -74,7 +74,7 @@ global $order; for ($i=1; $i<13; $i++) { - $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); + $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B (%m)',mktime(0,0,0,$i,1,2000))); } $today = getdate();
Recommended Posts
Archived
This topic is now archived and is closed to further replies.