function _uc_coupon_format_date in Ubercart Discount Coupons 6
Same name and namespace in other branches
- 7.3 uc_coupon.admin.inc \_uc_coupon_format_date()
- 7.2 uc_coupon.admin.inc \_uc_coupon_format_date()
3 calls to _uc_coupon_format_date()
- uc_coupon_add_form in ./
uc_coupon.admin.inc - Coupon add/edit form.
- uc_coupon_display in ./
uc_coupon.admin.inc - Display a brief overview of system coupons
- uc_coupon_view in ./
uc_coupon.admin.inc - View coupon details.
File
- ./
uc_coupon.admin.inc, line 1099
Code
function _uc_coupon_format_date($date, $format) {
$func = variable_get('uc_coupon_expiry_timezone', 0) ? 'date' : 'gmdate';
return $func($format, $date);
}