Skip to content

Commit

Permalink
use gmdate instead of date
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Oct 22, 2024
1 parent f7534e8 commit acfc77f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function test_get_item() {
$future = self::factory()->post->create(
array(
'post_status' => 'future',
'post_date' => date( 'Y-m-d H:i:s', strtotime( '+1 day' ) ),
'post_date' => gmdate( 'Y-m-d H:i:s', strtotime( '+1 day' ) ),
)
);
$draft = self::factory()->post->create( array( 'post_status' => 'draft' ) );
Expand Down

0 comments on commit acfc77f

Please sign in to comment.