We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the quickfix described in https://github.com/fightbulc/moment.php#iv-fixed-ordinal-representations only for 'WS', or is it supposed to work for other formatting as well?
$result = (new Moment('2015-03-31T20:00:00+0000'))->format('l, dS F Y');
Expected result: Tuesday, 31st March 2015 Actual result: Tuesday, 31rd March 2015
Tuesday, 31st March 2015
Tuesday, 31rd March 2015
I believe it's recommended to not use ordinals in dates like "March 31, 2015" for en_US, but this still seems like an annoying bug.
The text was updated successfully, but these errors were encountered:
Hey there. Thanks for spotting this. Just pushed a fix and released a new version.
9d580ef
Cheers from Berlin
Sorry, something went wrong.
No branches or pull requests
Is the quickfix described in https://github.com/fightbulc/moment.php#iv-fixed-ordinal-representations only for 'WS', or is it supposed to work for other formatting as well?
Expected result:
Tuesday, 31st March 2015
Actual result:
Tuesday, 31rd March 2015
I believe it's recommended to not use ordinals in dates like "March 31, 2015" for en_US, but this still seems like an annoying bug.
The text was updated successfully, but these errors were encountered: