Changeset 45855 for trunk/tests/phpunit/tests/date/wpTimezone.php
 Timestamp:
 08/19/2019 09:05:25 PM (2 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/tests/phpunit/tests/date/wpTimezone.php
r45853 r45855 45 45 */ 46 46 public function timezone_offset_provider() { 47 48 return [ 49 [  12, '12:00' ], 50 [  11.5, '11:30' ], 51 [  11, '11:00' ], 52 [  10.5, '10:30' ], 53 [  10, '10:00' ], 54 [  9.5, '09:30' ], 55 [  9, '09:00' ], 56 [  8.5, '08:30' ], 57 [  8, '08:00' ], 58 [  7.5, '07:30' ], 59 [  7, '07:00' ], 60 [  6.5, '06:30' ], 61 [  6, '06:00' ], 62 [  5.5, '05:30' ], 63 [  5, '05:00' ], 64 [  4.5, '04:30' ], 65 [  4, '04:00' ], 66 [  3.5, '03:30' ], 67 [  3, '03:00' ], 68 [  2.5, '02:30' ], 69 [  2, '02:00' ], 70 [ '1.5', '01:30' ], 71 [  1.5, '01:30' ], 72 [  1, '01:00' ], 73 [  0.5, '00:30' ], 74 [ 0, '+00:00' ], 75 [ '0', '+00:00' ], 76 [ 0.5, '+00:30' ], 77 [ 1, '+01:00' ], 78 [ 1.5, '+01:30' ], 79 [ '1.5', '+01:30' ], 80 [ 2, '+02:00' ], 81 [ 2.5, '+02:30' ], 82 [ 3, '+03:00' ], 83 [ 3.5, '+03:30' ], 84 [ 4, '+04:00' ], 85 [ 4.5, '+04:30' ], 86 [ 5, '+05:00' ], 87 [ 5.5, '+05:30' ], 88 [ 5.75, '+05:45' ], 89 [ 6, '+06:00' ], 90 [ 6.5, '+06:30' ], 91 [ 7, '+07:00' ], 92 [ 7.5, '+07:30' ], 93 [ 8, '+08:00' ], 94 [ 8.5, '+08:30' ], 95 [ 8.75, '+08:45' ], 96 [ 9, '+09:00' ], 97 [ 9.5, '+09:30' ], 98 [ 10, '+10:00' ], 99 [ 10.5, '+10:30' ], 100 [ 11, '+11:00' ], 101 [ 11.5, '+11:30' ], 102 [ 12, '+12:00' ], 103 [ 12.75, '+12:45' ], 104 [ 13, '+13:00' ], 105 [ 13.75, '+13:45' ], 106 [ 14, '+14:00' ], 107 ]; 47 return array( 48 array( 12, '12:00' ), 49 array( 11.5, '11:30' ), 50 array( 11, '11:00' ), 51 array( 10.5, '10:30' ), 52 array( 10, '10:00' ), 53 array( 9.5, '09:30' ), 54 array( 9, '09:00' ), 55 array( 8.5, '08:30' ), 56 array( 8, '08:00' ), 57 array( 7.5, '07:30' ), 58 array( 7, '07:00' ), 59 array( 6.5, '06:30' ), 60 array( 6, '06:00' ), 61 array( 5.5, '05:30' ), 62 array( 5, '05:00' ), 63 array( 4.5, '04:30' ), 64 array( 4, '04:00' ), 65 array( 3.5, '03:30' ), 66 array( 3, '03:00' ), 67 array( 2.5, '02:30' ), 68 array( 2, '02:00' ), 69 array( '1.5', '01:30' ), 70 array( 1.5, '01:30' ), 71 array( 1, '01:00' ), 72 array( 0.5, '00:30' ), 73 array( 0, '+00:00' ), 74 array( '0', '+00:00' ), 75 array( 0.5, '+00:30' ), 76 array( 1, '+01:00' ), 77 array( 1.5, '+01:30' ), 78 array( '1.5', '+01:30' ), 79 array( 2, '+02:00' ), 80 array( 2.5, '+02:30' ), 81 array( 3, '+03:00' ), 82 array( 3.5, '+03:30' ), 83 array( 4, '+04:00' ), 84 array( 4.5, '+04:30' ), 85 array( 5, '+05:00' ), 86 array( 5.5, '+05:30' ), 87 array( 5.75, '+05:45' ), 88 array( 6, '+06:00' ), 89 array( 6.5, '+06:30' ), 90 array( 7, '+07:00' ), 91 array( 7.5, '+07:30' ), 92 array( 8, '+08:00' ), 93 array( 8.5, '+08:30' ), 94 array( 8.75, '+08:45' ), 95 array( 9, '+09:00' ), 96 array( 9.5, '+09:30' ), 97 array( 10, '+10:00' ), 98 array( 10.5, '+10:30' ), 99 array( 11, '+11:00' ), 100 array( 11.5, '+11:30' ), 101 array( 12, '+12:00' ), 102 array( 12.75, '+12:45' ), 103 array( 13, '+13:00' ), 104 array( 13.75, '+13:45' ), 105 array( 14, '+14:00' ), 106 ); 108 107 } 109 108 } 110 111
Note: See TracChangeset
for help on using the changeset viewer.