|
@@ -603,7 +603,8 @@ discard block |
|
|
block discarded – undo |
|
603
|
603
|
// Fast-forward 24 hour on the end time |
|
604
|
604
|
$curr_end = date( 'Y-m-d H:i:s', strtotime( $curr_end ) + DAY_IN_SECONDS ); |
|
605
|
605
|
$search_criteria['end_date'] = $adjust_tz ? get_gmt_from_date( $curr_end ) : $curr_end; |
|
606
|
|
- if ( strpos( $search_criteria['end_date'], '00:00:00' ) ) { // See https://github.com/gravityview/GravityView/issues/1056 |
|
|
606
|
+ if ( strpos( $search_criteria['end_date'], '00:00:00' ) ) { |
|
|
607
|
+// See https://github.com/gravityview/GravityView/issues/1056 |
|
607
|
608
|
$search_criteria['end_date'] = date( 'Y-m-d H:i:s', strtotime( $search_criteria['end_date'] ) - 1 ); |
|
608
|
609
|
} |
|
609
|
610
|
} |
|
@@ -874,7 +875,7 @@ discard block |
|
|
block discarded – undo |
|
874
|
875
|
'ymd_dot' => 'Y.m.d', |
|
875
|
876
|
); |
|
876
|
877
|
|
|
877
|
|
- if ( ! empty( $field->dateFormat ) && isset( $datepicker[ $field->dateFormat ] ) ){ |
|
|
878
|
+ if ( ! empty( $field->dateFormat ) && isset( $datepicker[ $field->dateFormat ] ) ) { |
|
878
|
879
|
$format = $datepicker[ $field->dateFormat ]; |
|
879
|
880
|
} |
|
880
|
881
|
|
Please login to merge, or discard this patch.