adopted-ember-addons/ember-moment

Ignores locale on fastboot server

medokin opened this issue · 3 comments

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

2017-10-11_16-32-41

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

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

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.