Skip to content
Prev Previous commit
Next Next commit
use gmdate instead of date
  • Loading branch information
ramonjd committed Dec 9, 2024
commit bcf76be63472c4dc78817688f98adb230f37f8f6
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