@@ 625-630 (lines=6) @@ | ||
622 | * @throws InvalidDataTypeException |
|
623 | * @throws EE_Error |
|
624 | */ |
|
625 | public function date_range($dt_frmt = '', $conjunction = ' - ') |
|
626 | { |
|
627 | $dt_frmt = ! empty($dt_frmt) ? $dt_frmt : $this->_dt_frmt; |
|
628 | $start = str_replace( |
|
629 | ' ', |
|
630 | ' ', |
|
631 | $this->get_i18n_datetime('DTT_EVT_start', $dt_frmt) |
|
632 | ); |
|
633 | $end = str_replace( |
|
@@ 733-738 (lines=6) @@ | ||
730 | * @throws InvalidDataTypeException |
|
731 | * @throws EE_Error |
|
732 | */ |
|
733 | public function time_range($tm_format = '', $conjunction = ' - ') |
|
734 | { |
|
735 | $tm_format = ! empty($tm_format) ? $tm_format : $this->_tm_frmt; |
|
736 | $start = str_replace( |
|
737 | ' ', |
|
738 | ' ', |
|
739 | $this->get_i18n_datetime('DTT_EVT_start', $tm_format) |
|
740 | ); |
|
741 | $end = str_replace( |