Show Features Value - Date

Hi guys,

I have tried to show value of my feature "release" as DATE (xx/yy/zzzz):

{$features = $product|fn_get_product_features_list}
    {foreach from=$features item="feature"}
		{if $feature.description == "release"} 
My date: {$feature.variant} OR? {$release.variant}

{/if} {/foreach}

However, this code doesn't work. It works great for other features but not here.. any idea what is missing? Value of feature is stated as date.


{if $feature.feature_type == "ProductFeatures::DATE"|enum}

It's working! Thank you again for help!!

You are welcome! :D