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.

Try

{if $feature.feature_type == "ProductFeatures::DATE"|enum}
            {$feature.value_int|date_format:"`$settings.Appearance.date_format`"}
{/if}

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

You are welcome! :D