Topic timer doesn't work for fa_IR locale

topic timer doesn’t work when using fa_IR locale. i.e. nothing happen if I choose the topic to close after 1 day in these locales.

but when I set a timer in English locale, and then change the locale to fa_IR, the timer works fine.

it behaves the same way as this previous bug: Suspend doesn’t work for Persian language. and I don’t get any error in /log.

2 Likes

@techapj can you have a quick look at this?

3 Likes

Ooo this is tricky. moment.format takes into account of the current locale and for certain locales the output is not something the server expects. Fixed in

8 Likes

I also made sure we raise a proper error when the server receives an invalid timestamp

7 Likes

This topic was automatically closed after 31 hours. New replies are no longer allowed.