Closed (duplicate)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date CCK Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2009 at 23:31 UTC
Updated:
14 Mar 2009 at 00:06 UTC
Default value: Blank
Default value for To date: Blank
To Date: Never
Granularity: Year
create a new node, and leave year field null. Upon node creation year is set to now (2009).
Comments
Comment #1
vm commentedit may help Karen to explain what you expect? no year set, if left blank?
Comment #2
mikeytown2 commentedI leave the field blank, and the year gets set to 2009. Edit the node, delete the year and year gets set to 2009.
Comment #3
vm commentedthat would mean the answer is yes. You expect the year field to remain empty if left empty.
have you tested against the stable release of date-2.0?
have you tested 6.x-dev to ensure this hasn't already been fixed? There are multiple fixes already in -dev awaiting the next release.
Comment #4
mikeytown2 commentedK will test
Comment #5
mikeytown2 commentedNo Fix in dev. Yes I would like it to respect the default value set in admin/content/node-type/*/fields/field_*. Sorry about not answering your question the first time.
Here's the export with only this field selected
Comment #6
mikeytown2 commentedI was using stable 2.0, sorry about the mis tag
Comment #7
mikeytown2 commented#398258: field with "blank" default value automatically filled as "2009-01-01"