Post by trixiemay » Sun Mar 26, 2023 5:39 pm

OC3.0.3.2
I am using a date picker option but the resulting date shows with year/month/day.
How can I have it return as day/month/year?

thanks

___________________________________________
"Speak softly but carry a big stick" :crazy:


Active Member

Posts

Joined
Thu Mar 09, 2017 2:53 pm


Post by grgr » Sun Mar 26, 2023 10:39 pm

It is fixed in the product template:
<input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="YYYY-MM-DD" id="input-option{{ option.product_option_id }}" class="form-control" />

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: alanjones, Google [Bot] and 86 guests