diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-07-20 09:32:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 09:32:31 +0300 |
commit | b04f6933ad746d2c6159b138dd2d9b6bc959947d (patch) | |
tree | 227a336c4aed6e929ee6ec9bb06ada1cb26d31d6 /tests/PHPUnit/Unit | |
parent | 38cf2ef0d9968fdef2d4111755096efa56befce5 (diff) |
Fix start/end time for given period it can skip this archive (#16221)
Diffstat (limited to 'tests/PHPUnit/Unit')
-rw-r--r-- | tests/PHPUnit/Unit/PeriodTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/PHPUnit/Unit/PeriodTest.php b/tests/PHPUnit/Unit/PeriodTest.php index 62cc442295..2b7f4c6275 100644 --- a/tests/PHPUnit/Unit/PeriodTest.php +++ b/tests/PHPUnit/Unit/PeriodTest.php @@ -326,12 +326,12 @@ class PeriodTest extends \PHPUnit\Framework\TestCase public function getTestDataForGetBoundsInTimezone() { return [ - ['day', '2018-03-04', 'America/Los_Angeles', '2018-03-03 16:00:00', '2018-03-04 16:00:00'], - ['day', '2018-03-04', 'UTC+8', '2018-03-04 08:00:00', '2018-03-05 08:00:00'], - ['day', '2018-03-04', 'UTC-8', '2018-03-03 16:00:00', '2018-03-04 16:00:00'], - ['week', '2018-03-04', 'America/Los_Angeles', '2018-02-25 16:00:00', '2018-03-04 16:00:00'], - ['week', '2018-03-04', 'UTC-4', '2018-02-25 20:00:00', '2018-03-04 20:00:00'], - ['week', '2018-03-04', 'UTC', '2018-02-26 00:00:00', '2018-03-05 00:00:00'], + ['day', '2018-03-04', 'America/Los_Angeles', '2018-03-04 08:00:00', '2018-03-05 07:59:59'], + ['day', '2018-03-04', 'UTC+8', '2018-03-03 16:00:00', '2018-03-04 15:59:59'], + ['day', '2018-03-04', 'UTC-8', '2018-03-04 08:00:00', '2018-03-05 07:59:59'], + ['week', '2018-03-04', 'America/Los_Angeles', '2018-02-26 08:00:00', '2018-03-05 07:59:59'], + ['week', '2018-03-04', 'UTC-4', '2018-02-26 04:00:00', '2018-03-05 03:59:59'], + ['week', '2018-03-04', 'UTC', '2018-02-26 00:00:00', '2018-03-04 23:59:59'], ]; } }
\ No newline at end of file |