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

Ignores locale on fastboot server #262

Open
medokin opened this issue Oct 11, 2017 · 3 comments
Open

Ignores locale on fastboot server #262

medokin opened this issue Oct 11, 2017 · 3 comments
Assignees

Comments

@medokin
Copy link

medokin commented Oct 11, 2017

Fastboot renders always in en, and ignores language setting.
It changes back on client render.

2017-10-11_16-32-41

@jasonmit
Copy link
Collaborator

What version of ember-moment and ember-cli-moment-shim are you using

@medokin
Copy link
Author

medokin commented Oct 12, 2017

Latest:

    "ember-moment": "^7.4.1",
    "ember-cli-moment-shim": "^3.5.0",

Example project reflecting the issue: https://github.com/medokin/ember-moment-issue-262

@jasonmit
Copy link
Collaborator

jasonmit commented Oct 13, 2017

The behavior should be the same out of the box but you may need to explicitly configure the shim to bring in the locales https://github.com/jasonmit/ember-cli-moment-shim#i18n-support

I'll treat this as a bug and dig into why both environments are not behaving identically w/o configuration. Will just take me a few days until I can get around to it but the above may offer a work around for now.

@jasonmit jasonmit self-assigned this Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants