- 🇫🇷France ratjaune
Thanks #4 !
I had this problem to because I was storing dates programmatically like this : 'Y-m-d' : without time.
Dates must be stored like this : 'Y-m-d\TH:i:s'
Hi!
I'm experiencing a realy strange problem.
I'm not a developer but I really know drupal.
I've a field collection that own a date iso field. Collect end date not mandatory.
This field collection is attached to two different Entity Registration Type.
In one of those two when I save the first time the entity the date dispalyed is current date while the real value stored in the database is something else. Example I save 02-02-2017 11:44 but I see the current date(now and it refresh every time i go to the entity page). This happen also in Views.
If I go to edit field collection i see the right value, and If I save withouth editing the date then I can see the right value also in entity page and views. Checking the Db entry with phpmyadmin I see (field_start_value) 2017-02-02 11:44 and (field_endt_value) NULL, after updating I see (field_start_value) 2017-02-02T11:44:00 (field_endt_value) 2017-02-02T11:44:00
On the other Entity Registration Type everything goes well.
What can I do?
Active
2.0
Date Field
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks #4 !
I had this problem to because I was storing dates programmatically like this : 'Y-m-d' : without time.
Dates must be stored like this : 'Y-m-d\TH:i:s'