I am creating a web-site that is a wiki about wild herbs. In the content type of herbs I wanna have a field ''month'' (the months that you can find this herb in the woods) . How can I have just months but not years with date module?

Comments

karens’s picture

Priority: Major » Normal
Status: Active » Fixed

The date module supports full dates, not partial dates. You probably could just use a text field for this if you don't need any date functionality. If you need it to behave like a date, it has to be a full date.

Also please don't mark support requests as major or critical, major or critical are for flagging bugs that make the module unusable or badly broken.

kwstasm83’s picture

Thank You and sorry that i marked it major...
I need to use date module because I wanna create a calendar to display when these herbs appear. is maybe an other way to do it?

karens’s picture

The calendar won't work unless they are full date fields either. You can try http://drupal.org/project/partial_date and see if that works, but I don't know that those fields will work in calendars either. Otherwise you'll have to create them as dates that at least have a year (could be year and month) and not display the year in the display. You could do them as repeating dates and have them repeat every year. If you did it that way they should work in a calendar.

kwstasm83’s picture

thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.