Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Community Advisor

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?

1 Accepted Solution

Avatar

Correct answer by
Level 9

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

View solution in original post

3 Replies

Avatar

Level 2

We have the same issue but unfortunately no solution yet. 

Some input on this issue would be very appreciated. 

Cheers

Avatar

Correct answer by
Level 9

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

Avatar

Community Advisor

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