Hello,
When editing a node with populated data, including different values for 'From' and 'To' dates, 'To date' is copied from 'From date'. When editing or creating, the date is saved correctly. The only problem is when populating the editing form.
The field is of type datetime. I'm using popup with day granularity, no hours nor minutes can be set. Date values are:
* 'From date' is required and defaults to 'now'
* 'To date' is optional and defaults to 'relative' +1 day
I have tested versions 6.x-2.9 and 6.x-2.9+15-dev. Both the same. Also tested with required 'To date', and the same. I have tested with "Text field with custom input type" and "Select list" and the same happens.
OS: Ubuntu 12.04
Database: MySQL
Web Server: Apache 2.2.22
PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)
PHP error_reporting = E_ALL & ~E_DEPRECATED
Drupal 6.30 (not from repositories)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2014-02-25_115322.png | 12.76 KB | nasrani |
Comments
Comment #1
nasrani commentedHi @emi_bcn,
I tried the above steps and it seems it is working fine.
I am attaching the file where in populating the editing form of a node, I can get the correct value.
Please let me know if you still face the issue or if I have misunderstood the incident.
Marking it as Closed (cannot reproduce)
Thank you,
Nikhil Asrani.