Skip to content

Commit

Permalink
Hell. Removed the opposite string.
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 19, 2025
1 parent ed31ce4 commit 5e18d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-output.php
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ function my_calendar( $args ) {
*
* @return {string}
*/
$to = mc_date( 'Y-m-d', strtotime( $from . ' + 13 days' ) );
$to = apply_filters( 'mc_to_date', $dates['to'], $dates['from'] );
$from = ( 'day' === $params['time'] ) ? mc_date( 'Y-m-d', $current, false ) : $from;
$to = ( 'day' === $params['time'] ) ? mc_date( 'Y-m-d', $current, false ) : $to;
$query = array(
Expand Down

0 comments on commit 5e18d82

Please sign in to comment.