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

Datetime fields not updating #41

Open
Hedonismos opened this issue Dec 20, 2016 · 2 comments
Open

Datetime fields not updating #41

Hedonismos opened this issue Dec 20, 2016 · 2 comments

Comments

@Hedonismos
Copy link

Hedonismos commented Dec 20, 2016

I have added my own table and most values update with no problem. But unfortunately the datetime fields will not update. They display fine, but on updating they turn red and return to their initial state.

How can I debug this error? echoing the query doesn't seem to work, so I have no clue what is going wrong.
Can it be caused by these lines in update.php:
$date_info = date_parse_from_format('d/m/Y', $value); $value = "{$date_info['year']}-{$date_info['month']}-{$date_info['day']}";

They seem to fine, they pick up the date from the vield and then write in y-m-d to database.
Unfortunately can't see an error message or a message in the log files.

Hope to hear from you :)

@sweekarJ
Copy link

sweekarJ commented Feb 16, 2017

I am also facing same issue, all other fields are getting updated fine but not the one for Date.
It is not working for my own table as well as not working for the demo project as well.

It will be great if we can get a resolution for this. :)

@sabineCa
Copy link

hello,
did you find a solution to this ? I have the same issue too ..

thank you

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

3 participants