Pad_Pors
(Pad Pors)
24 مارس 2018، 5:50ص
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.
إعجابَين (2)
sam
(Sam Saffron)
25 مارس 2018، 11:57م
2
@techapj can you have a quick look at this?
3 إعجابات
tgxworld
(Alan Tan)
26 مارس 2018، 2:54ص
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
https://github.com/discourse/discourse/commit/252e58dfe995aff51fc15ba2541303a3b4b55988
8 إعجابات
tgxworld
(Alan Tan)
26 مارس 2018، 3:37ص
4
I also made sure we raise a proper error when the server receives an invalid timestamp
https://github.com/discourse/discourse/commit/3d18cd1d9da2b236f9e25a5dced69f241d38789e
7 إعجابات
tgxworld
(Alan Tan)
تم إغلاقه في
27 مارس 2018، 10:00ص
5
This topic was automatically closed after 31 hours. New replies are no longer allowed.