Communities We.retail package installed- Blog Date shows different characters | Community
Skip to main content
Shubham_borole
Community Advisor
Community Advisor
March 16, 2017
Solved

Communities We.retail package installed- Blog Date shows different characters

  • March 16, 2017
  • 3 replies
  • 1549 views

I had installed the we.retail package 5th Dec 2016, I see that after 60 days the date created shows a date with different characters  "Created 12월 05 2016, 11:29 오전 by Aaron McDonald" Has anyone faced/seen that?

I found that it is a handle bar helper provided by AEM where we can see that the 'daysCutoff' is set to default as '60'. Other than having to create another custom helper or overlay it, is there anything that can be done to display the date properly?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JK_Kendall

This is a locale bug (CQ-109419) that is fixed in Communities FP3 for AEM 6.2, which is coming out relatively soon.

The locale is defaulting to Korean.

You can apply the same fix by adding a line to specify the locale for the pretty-time helper, just after all the var declarations :

        moment.locale(CQ.shared.I18n.getLocale());

- JK

3 replies

Level 2
March 17, 2017

We have the same issue but unfortunately no solution yet. 

Some input on this issue would be very appreciated. 

Cheers

JK_Kendall
JK_KendallAccepted solution
Level 9
March 18, 2017

This is a locale bug (CQ-109419) that is fixed in Communities FP3 for AEM 6.2, which is coming out relatively soon.

The locale is defaulting to Korean.

You can apply the same fix by adding a line to specify the locale for the pretty-time helper, just after all the var declarations :

        moment.locale(CQ.shared.I18n.getLocale());

- JK

Shubham_borole
Community Advisor
Community Advisor
March 20, 2017

JK Kendall wrote...

This is a locale bug (CQ-109419) that is fixed in Communities FP3 for AEM 6.2, which is coming out relatively soon.

The locale is defaulting to Korean.

You can apply the same fix by adding a line to specify the locale for the pretty-time helper, just after all the var declarations :

        moment.locale(CQ.shared.I18n.getLocale());

- JK

 

Thanks a lot :) JK, I will try that