Skip to content
New issue

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

Add 'yyyy' to nomalizedDate method map for adminhtml i18n #3708

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

Amakata
Copy link
Contributor

@Amakata Amakata commented Mar 10, 2016

  • Sample Code
<?php


$t = (new \IntlDateFormatter(
   'ja_JP',
   \IntlDateFormatter::MEDIUM,
   \IntlDateFormatter::NONE
))->getPattern();

echo $t, PHP_EOL;

Mac homebrew php56 + php56-intl result: y/MM/dd
But, Amazon Linux 2015.09: php56 + php56-intl result: yyyy/MM/dd

Adminhtml datetime Correct: "2016/02/28 20:21:59"
Adminhtml datetime Result: "2016yyy/02/28 20:21:59"

in Japanese Locale Admin User on Amazon Linux.

@piotrekkaminski
Copy link
Contributor

Internal issue MAGETWO-54369

@mmansoor-magento mmansoor-magento merged commit 82826ff into magento:develop Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants