Advanced Date Picker - Monday First Issue
10 years 6 months ago #232403
by gpraceman
Advanced Date Picker - Monday First Issue was created by gpraceman
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.39
I have a custom field that uses the Advanced Date Picker. I have Monday First set to No, but the calendar still shows Monday as the first day of the week. Unfortunately, this has thrown off several of our customers.
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.39
I have a custom field that uses the Advanced Date Picker. I have Monday First set to No, but the calendar still shows Monday as the first day of the week. Unfortunately, this has thrown off several of our customers.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232410
by nicolas
Replied by nicolas on topic Advanced Date Picker - Monday First Issue
Hi,
Can you provide a screenshot of the settings of the custom field and a link to the page with the issue so that we can see the problem ?
Also, you might want to update you're HikaShop. We've included several fixes to the advanced date picker since the 2.5.0 so it might help.
Can you provide a screenshot of the settings of the custom field and a link to the page with the issue so that we can see the problem ?
Also, you might want to update you're HikaShop. We've included several fixes to the advanced date picker since the 2.5.0 so it might help.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232534
by gpraceman
Replied by gpraceman on topic Advanced Date Picker - Monday First Issue
Attached is a screenshot. Updating to 2.6.1 had no effect.
URL is grandprix-software-central.com . You would have to go through the checkout process. On the Finish page, there is a Race Date box. Though, the screenshot shows the issue.
URL is grandprix-software-central.com . You would have to go through the checkout process. On the Finish page, there is a Race Date box. Though, the screenshot shows the issue.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232648
by nicolas
Replied by nicolas on topic Advanced Date Picker - Monday First Issue
Hi,
Add the code:
after the code:
in the file plugins/hikashop/datepickerfield/datepickerfield_class.php
and that should fix that.
Add the code:
Code:
else
$dateOptions[] = 'firstDay:0';
Code:
if(!empty($datepicker_options['monday_first']))
$dateOptions[] = 'firstDay:1';
and that should fix that.
The following user(s) said Thank You: gpraceman
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232651
by gpraceman
Replied by gpraceman on topic Advanced Date Picker - Monday First Issue
That fixed it, thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.190 seconds