Please add an date popup as an optional timeout widget or as an main widget like in uc_auction.
AS you can only store the timeout in one way I think you should store as an date/time. I think I it will be the more useful one and I guess that's why uc_auctions does that... and that's what i need anyway.
If you really need the actual widget get the current date/time, add the timeout and you will get the timeout. or do the calculation on submit or sth like that.

The available widget is useless to me as i need to choose specific date and times for the timeout. That's how auctions work.

Comments

xpete’s picture

Can you get the $entity->created from this?:
$product = commerce_product_load($line_item->commerce_product[LANGUAGE_NONE][0]['product_id']);
Taken from here

farhadhf’s picture

Removed previous field widget and added a new one with date_popup form element. Please remove the field from your entities and add them again, field schema has been changed.

xpete’s picture

Status: Active » Closed (fixed)