Closed (fixed)
Project:
Date
Version:
5.x-2.6
Component:
Date CCK Field
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 13:11 UTC
Updated:
21 May 2009 at 15:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
leoric commentedReverting to 2.5 for now. Just recollected that the reason of empty calendar is buggy "Unlimited" option for "Maximum items" setting in calendar setup.
Comment #2
v1nce commentedWe are seeing a similar issue with a date field that has to/from popup calendar widgets as well. When editing a node, the default_value resets to the current date/time instead of the originally submitted value.
Comment #3
scottgifford commentedI encountered this problem too, it seems to happen when using a datestamp type. The problem seems to be in the conversion from the database field to a date object; instead of converting from the type in the field, it was always converting from a DATETIME type.
The attached patch fixed the issue for me.
Comment #4
pschopf commentedThanks, it worked for me as well.
Comment #5
v1nce commentedLooks good. Thanks.
Updated patch to use correct path in patch for original file.
Comment #6
leoric commentedThanks, seems to work fine after applying patch!
Comment #7
cangeceiro commentedapplied patch and it fixed it
Comment #8
dalinpatch in #5 works for me too.
Comment #9
kaareI can confirm both the bug and that the patch in #5 works.
Comment #10
dperdue commentedHad problem, patch in #5 worked for me as well.
Comment #11
jamestombs commentedPatch #5 worked for me too.
Comment #12
karens commentedActually the fix goes the other way, all element handling should be in DATETIME formats rather than the field['type']. A slightly different patch committed. Thanks!.
Comment #13
scottgifford commentedYour fix in the latest version works perfectly. Thanks!