-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Tng] Format timestamp attribute #12
Comments
I did a test. |
Ah.. i think u need to escape it like that -> 05/10/2013 regards |
I have reset the configuration in d / m / Y DateTime::__construct(): Failed to parse time string (18\/06\/2014) at position 0 (1): Unexpected character |
Try MM/DD/YYYY and not DD/MM/YYYY . By the way the contao config is not used here. |
Should I try to enter a date in that way or to change the date format in the general settings? |
Please enter a date in this format. As i say the config from contao has no effect. |
Is not correct, I tried it and I am given the error to enter a date in the format DD / MM / YYYY |
Problem understood and accepted. You are right. The widtget itself use the contao settings. So it is easy to add this information to the attribute class. I hope this will fix the problem. |
See contao/core#7721 |
Hi,
i have update my MetaModels to TNG version.
I have a timestamp filed on my application.
If I insert a new record or update a record, I have this error:
DateTime::__construct(): Failed to parse time string (24/05/2014) at position 0 (2): Unexpected character
The date is 24/05/2014
In Contao the date format is d/m/Y
if the date is similar to 05/10/2013, the error is not present
I think it's a problem with the date format.
The text was updated successfully, but these errors were encountered: