You are here

function _uc_coupon_format_date in Ubercart Discount Coupons 7.2

Same name and namespace in other branches
  1. 6 uc_coupon.admin.inc \_uc_coupon_format_date()
  2. 7.3 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 1193
Discount Coupons administration pages.

Code

function _uc_coupon_format_date($date, $format) {
  $func = variable_get('uc_coupon_expiry_timezone', 0) ? 'date' : 'gmdate';
  return $func($format, $date);
}