Skip to main content

Advanced Date Picker - Monday First Issue

More
10 years 6 months ago #232403 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.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #232410 by nicolas
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.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #232534 by gpraceman
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.


Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #232648 by nicolas
Hi,

Add the code:
Code:
else $dateOptions[] = 'firstDay:0';
after the code:
Code:
if(!empty($datepicker_options['monday_first'])) $dateOptions[] = 'firstDay:1';
in the file plugins/hikashop/datepickerfield/datepickerfield_class.php
and that should fix that.
The following user(s) said Thank You: gpraceman

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #232651 by gpraceman
That fixed it, thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum