Changeset 43562
- Timestamp:
- 08/11/2018 01:28:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/dateI18n.php
r43434 r43562 90 90 */ 91 91 public function test_date_i18n_handles_shorthand_formats( $short, $full ) { 92 $this->assertEquals( date_i18n( $full ), date_i18n( $short ));92 $this->assertEquals( strtotime( date_i18n( $full ) ), strtotime( date_i18n( $short ) ), 'The dates should be equal', 2 ); 93 93 $this->assertEquals( $short, date_i18n( '\\' . $short ) ); 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.