Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2008 at 22:01 UTC
Updated:
27 Jan 2009 at 15:30 UTC
Drupal 6.8
MySQL 5.0.51a
PHP 5.2.8
Date 6.x-2.x-dev 2008/12/18
Not sure if this is a bug or something I am missing so I have marked the issue as Support Request.
I am using a CCK_Date field in an historical date context with a granularity of 'year'. When I open a node in Edit mode the historical dates eg.:
Date FROM = 1821, Date TO = 1911 are correct,
on saving the node, the 'FROM' date retains the correct value but the 'TO' date resets to the current year e.g.:
Date FROM = 1821, Date TO = 2008.
Tried this on several nodes with differing ranges of dates and the result is the same, after an edit the 'TO' date changes to 2008.
Comments
Comment #1
karens commentedI made a number of changes this morning to the handling of year-only values that I think fixed this. At least I can't replicate any problem now.