Extending kenorb's port of CCK Time to D6, the attached patch simply allows users to input empty values if the field is not required. Selecting the empty value for minutes and/or hours will result in NULL being stored to the database for that field.

Also tidied up the function documentation a little.

Comments

bomarmonk’s picture

I think you forgot to attach the patch.

kenorb’s picture

Status: Needs review » Active
rwd’s picture

Sorry about that, thought it got uploaded the first time. Attached again here.

rwd’s picture

Status: Active » Needs review
danny englander’s picture

richardwdoe - This is great, thank you for the patch, I can confirm it works. Exactly what I needed as sometimes my events do not have end times, just start times so I made my start time required but not my end time.

kenorb’s picture

Status: Needs review » Reviewed & tested by the community
kenorb’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

adelka’s picture

I need exactly this feature in verzion 7.
Anybody knows if it will be implemented? Or can just help to change it for 7.x?