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
Comment #1
xpete commentedCan you get the
$entity->createdfrom this?:$product = commerce_product_load($line_item->commerce_product[LANGUAGE_NONE][0]['product_id']);Taken from here
Comment #2
farhadhf commentedRemoved 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.
Comment #3
xpete commented