I've tried to find an exact duplicate of this issue, but surprisingly don't see it.
I add a "Date" field to a content type. I set the default to "Now" and the widget type to "Select List". I set "Input Format" to "March 3, 2009 12:21pm" and the Time Increment to "10 minutes". I do not want a "To" date.
I want the user to be able to select a time, starting at now() and then at 10-minute increments going forward. FWIW, I also tried this with a "Datetime" field and had the same problem (not sure yet what the difference is btwn a "Date" field, a "Datestamp" and a "Datetime", but I'm sure I'll figure it out.)
What I was expecting was a single select pulldown with the current date and time displayed, at 10 minute increments, like so:
- March 3, 2009 12:21pm
- March 3, 2009 12:31pm
- March 3, 2009 12:41pm
- March 3, 2009 12:51pm
- March 3, 2009 1:01pm
Instead what I get is separate select pulldowns for year, month, day, hour, minute (which I get, is normal) ... all of them blank (which is not normal, right?)!
I know there are bugs with the new Date module and Views, but I'm not that far along, yet. I just want to attach an "activation" timestamp to a "homepage" node type, then later create a view that picks up the newest published node of that content type, aka "Editions" method of publishing a homepage. The "newest" node of that content type (homepage type) is based on the date field.
I can live with the multiple pulldowns, as long as they are pre-populated on the node edit form with the current date and time, but I can't seem to get any default values to display. I tried relative and "+10 minutes" but that didn't work either.
I tried different settings, but always get the same result: no default values displaying on node edit form.
I feel like maybe I'm missing a key element to creating a date field, but after seeing all these issues, wonder if it is indicative of a bug.
Again, no matter what I select for "Default" value, and no matter what Widget Type I select, I get blanks on my node edit form.
Any ideas? Thanks.
Comments
Comment #1
karens commentedStart by using the current code, the rc6 version is out of date.
Comment #2
ccshannon commentedOkay, I deleted the Date field, just to start over.
I updated the Date module to the current version.
I still get blank select inputs.
AAAH, I figured it out. It only works when creating a new node. Retroactively adding the field to existing nodes of the content type does not offer the default value. That makes sense.
Thanks for responding!