@@ 1605-1612 (lines=8) @@ | ||
1602 | 'DTT_EVT_start', |
|
1603 | $this->_date_time_format |
|
1604 | ); |
|
1605 | } else { |
|
1606 | // default so let's just use what's been set for the default date-time which is 30 days from now. |
|
1607 | $template_args['TKT_end_date'] = date( |
|
1608 | $this->_date_time_format, |
|
1609 | mktime( |
|
1610 | 24, |
|
1611 | 0, |
|
1612 | 0, |
|
1613 | date('m'), |
|
1614 | date('d') + 29, |
|
1615 | date('Y') |
@@ 1684-1689 (lines=6) @@ | ||
1681 | : null; |
|
1682 | if (! empty($earliest_dtt)) { |
|
1683 | $template_args['TKT_end_date'] = $earliest_dtt->get_datetime('DTT_EVT_start', 'Y-m-d', 'h:i a'); |
|
1684 | } else { |
|
1685 | $template_args['TKT_end_date'] = date( |
|
1686 | 'Y-m-d h:i a', |
|
1687 | mktime(0, 0, 0, date("m"), date("d") + 7, date("Y")) |
|
1688 | ); |
|
1689 | } |
|
1690 | } |
|
1691 | $template_args = array_merge($template_args, $price_args); |
|
1692 | $template = apply_filters( |