Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nadavkav opened this issue Aug 18, 2014 · 1 comment

Comments

@nadavkav
Copy link
Contributor

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
Copy link
Member

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants