I have tried NOW, RELATIVE (now, + 1 day, etc) as default values.

also i have tried different widget.

also i have tried different admin themes (rubik, seven, garland).

the results is always the same:

default value doesnt work.

Comments

-Mania-’s picture

I have the same problem. The date always defaults to the start date even though a specific relative default date is set.

webcultist’s picture

Same problem. On a nearly clean installation, just for some site buliding purposes, the default value doesn't work.
I also tried different date-field types, different widgets and different default values, also in the latest dev - it just keeps the empty input fields.

fb-multimedia’s picture

Same problem.

mejdzer’s picture

Try to set #default_value in this format: date('Y-m-d H:i:s', $your_optional_timestamp) even if #date_format is different.
It worked for me.

kopeboy’s picture

Version: 7.x-2.5 » 7.x-2.8
Issue summary: View changes

Where to write that string??

Why shouldn't it work if set in Field UI when creating the field on the content type?

DamienMcKenna’s picture

Version: 7.x-2.8 » 7.x-2.x-dev

Please try the latest -dev snapshot - does the problem persist?