From df1b3c8dbe5a7301ec85826f77b06f45e2af5112 Mon Sep 17 00:00:00 2001 From: denghy Date: Thu, 25 Apr 2019 18:31:00 +0800 Subject: [PATCH] strtotime --- tests/OldActivityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/OldActivityTest.php b/tests/OldActivityTest.php index 0e4ea9c1..e5845677 100644 --- a/tests/OldActivityTest.php +++ b/tests/OldActivityTest.php @@ -31,7 +31,7 @@ foreach ($data as $item) { $attributes['valid_start_time'] = $item[2]; $attributes['valid_end_time'] = strtotime("+{$month} month", $attributes['valid_start_time']); $attributes['valid_end_time'] = strtotime('-1 second', $attributes['valid_end_time']); - $attributes['create_time'] = strtotime($item[2]); + $attributes['create_time'] = $item[2]; $attributes['task_number'] = 'jh20190425'; DB::transaction(function () use ($attributes) {