Changeset 45588 for trunk/tests/phpunit/tests/formatting/date.php
- Timestamp:
- 07/02/2019 04:43:01 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/formatting/date.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/date.php
r42343 r45588 14 14 function test_get_date_from_gmt_outside_of_dst() { 15 15 update_option( 'timezone_string', 'Europe/London' ); 16 $gmt = $local = '2012-01-01 12:34:56'; 16 $local = '2012-01-01 12:34:56'; 17 $gmt = $local; 17 18 $this->assertEquals( $local, get_date_from_gmt( $gmt ) ); 18 19 } … … 35 36 function test_get_gmt_from_date_outside_of_dst() { 36 37 update_option( 'timezone_string', 'Europe/London' ); 37 $local = $gmt = '2012-01-01 12:34:56'; 38 $local = '2012-01-01 12:34:56'; 39 $gmt = $local; 38 40 $this->assertEquals( $gmt, get_gmt_from_date( $local ) ); 39 41 } … … 53 55 */ 54 56 function test_get_date_and_time_from_gmt_no_timezone() { 55 $gmt = $local = '2012-01-01 12:34:56'; 57 $local = '2012-01-01 12:34:56'; 58 $gmt = $local; 56 59 $this->assertEquals( $gmt, get_date_from_gmt( $local ) ); 57 60 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)