Topic timer doesn't work for fa_IR locale

(Pad Pors) #1

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.

(Sam Saffron) #2

@techapj can you have a quick look at this?

(Alan Tan) #3

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

(Alan Tan) #4

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

(Alan Tan) #5

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