Skip to content

Commit

Permalink
Fix date error in form handler factory
Browse files Browse the repository at this point in the history
  • Loading branch information
trymebytes committed Dec 17, 2024
1 parent 6d87a74 commit 1c900b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/event-form-handler-factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function future_inactive_event_form_data( $form_name, DateTimeImmutable $
'event_form_action' => 'publish',
'event_title' => $event_title,
'event_description' => $event_description,
'event_start' => $now->modify( '+1 month' ),
'event_end' => $now->modify( '+2 month' ),
'event_start' => $now->modify( '+1 month' )->format( 'Y-m-d H:i:s' ),
'event_end' => $now->modify( '+2 month' )->format( 'Y-m-d H:i:s' ),
'event_timezone' => $timezone,
'event_attendance_mode' => $event_attendance_mode,
);
Expand Down

0 comments on commit 1c900b4

Please sign in to comment.