We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67af777 commit fd1c0e2Copy full SHA for fd1c0e2
tests/phpunit/tests/date/dateI18n.php
@@ -228,14 +228,14 @@ public function data_should_handle_dst() {
228
public function test_adjusts_ordinal_based_on_locale() {
229
switch_to_locale( 'en_US' );
230
$this->assertSame( '8th', date_i18n( 'jS', 1733618500 ) );
231
- restore_previous_locale();
+ restore_previous_locale();
232
233
switch_to_locale( 'de_DE' );
234
$this->assertSame( '8.', date_i18n( 'jS', 1733618500 ) );
235
236
237
switch_to_locale( 'es_ES' );
238
$this->assertSame( '8.º', date_i18n( 'jS', 1733618500 ) );
239
240
}
241
0 commit comments