moodleou / moodle-mod_forumng

ForumNG forum module for Moodle
19 stars 20 forks source link

Failed to parse time string (18/08/2014) at position 0 (1): Unexpected character #32

Open nadavkav opened 9 years ago

nadavkav commented 9 years ago

Hi,

While checking Forum usage, I am getting the following exception/error:

DateTime::construct(): Failed to parse time string (18/08/2014) at position 0 (1): Unexpected character Debug info: Error code: generalexceptionmessage Stack trace: line 225 of /mod/forumng/feature/usage/usage.php: Exception thrown line 225 of /mod/forumng/feature/usage/usage.php: call to DateTime->construct()

This only happens when I use Hebrew UI. In English, everything works fine. (moodle27/mod/forumng/feature/usage/usage.php?id=15&lang=he)

Digging into it...

jason-platts commented 9 years ago

I've made a fix to stop the error (which was due to time format) and this will be upstream soon.

However, there are still display issues with the usage chart when the browser is set to rtl language. I couldn't see how to fix this...