You are here

function _uc_coupon_format_hour in Ubercart Discount Coupons 7.2

Same name and namespace in other branches
  1. 6 uc_coupon.admin.inc \_uc_coupon_format_hour()
  2. 7.3 uc_coupon.admin.inc \_uc_coupon_format_hour()
1 call to _uc_coupon_format_hour()
uc_coupon_add_form in ./uc_coupon.admin.inc
Coupon add/edit form.
1 string reference to '_uc_coupon_format_hour'
uc_coupon_settings_form in ./uc_coupon.admin.inc
Store-wide coupon settings form.

File

./uc_coupon.admin.inc, line 877
Discount Coupons administration pages.

Code

function _uc_coupon_format_hour($hour) {
  return sprintf("%02d:00", $hour);
}