[Skip to main content](#vessel-content)

#   Datepicker - automatically to jan. 2020

##

- **[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")**
- [![eddih19's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33181-eddih19 "View eddih19's Profile") Topic Author
- [ Offline](/forum/user/33181-eddih19)

Less More

- Posts: 14
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#163253](#163253) by [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")  *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#163253 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")* was created by *[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")*

-- url of the page with the problem -- : [ www.houtenschuifpuien.nl/index.php/component/hikashop/checkout](http://www.houtenschuifpuien.nl/index.php/component/hikashop/checkout)
-- HikaShop version -- : HikaShop Business 2.3.1
-- Joomla version -- : 3.3.1

Hello,

For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!

But I'm facing a small issue, I've set the default day on "today", disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?

Thanks in advance,

Greetings, Hidde

Last edit: 12 years 4 months ago by [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#163263](#163263) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#163263 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hi,

Please use the option "default today".
The default date your stored is processed as a text "zaterdag 12 juli 2014". His real value is "20140702000000" (2014 / 07 / 02, which is not the current date).
When the jquery datepicker javascript try to extract the date, it failed and I can't explain why but the "23 Jan 2020" is targeted.

So you can use a different date display format, or use the option "default today" to let the plugin set the current date.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")**
- [![eddih19's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33181-eddih19 "View eddih19's Profile") Topic Author
- [ Offline](/forum/user/33181-eddih19)

Less More

- Posts: 14
- Thank you received: 0
-
-

12 years 4 months ago [\#163509](#163509) by [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")  Replied by *[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#163509 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hello Jerome,

Thanks for your reply,

I already did switch the Default today button to "yes" but the default value automatically switches to today (+ 5 waiting days), and the defualt day is showing fine, but the original problem stays the same...

When I try to make a new custom field (with the same values and keep the default day empty) it's giving the following warning;

Warning: strpos(): Empty needle in /home/houtensc/public_html/plugins/hikashop/datepickerfield/datepickerfield_class.php on line 294

Line 294 says;

if(strpos('%', $format) !== false) {
$format = str_replace(array('%A','%d','%B','%m','%Y','%y','%H','%M','%S','%a'),array('l','d','F','m','Y','y','H','i','s','D'),$format);
}

Could this have something to do with the problem?

Greetings, Hidde

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#163528](#163528) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#163528 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hi,

I will recommend you to update HikaShop (2.3.2 is just released)
[ www.hikashop.com/support/support/documen...ashop-changelog.html](http://www.hikashop.com/support/support/documentation/56-hikashop-changelog.html)

The problem you got is fixed in the latest build.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")**
- [![eddih19's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33181-eddih19 "View eddih19's Profile") Topic Author
- [ Offline](/forum/user/33181-eddih19)

Less More

- Posts: 14
- Thank you received: 0
-
-

12 years 4 months ago [\#164159](#164159) by [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")  Replied by *[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#164159 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hello Jerome,

I did update to version 2.3.2 but the problem still isn't fixed...

Greetings Hidde

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#164163](#164163) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#164163 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hi,

The warning message isn't fixed ?
Did you change the date format like I recommend you in my first answer ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")**
- [![eddih19's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33181-eddih19 "View eddih19's Profile") Topic Author
- [ Offline](/forum/user/33181-eddih19)

Less More

- Posts: 14
- Thank you received: 0
-
-

12 years 4 months ago [\#164640](#164640) by [eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")  Replied by *[eddih19](/forum/user/33181-eddih19 "View eddih19's Profile")* on topic *[Datepicker - automatically to jan. 2020](/forum/27-checkout/869558-datepicker-automatically-to-jan-2020#164640 "-- url of the page with the problem -- :   www.houtenschuifpuien.nl/index.php/component/hikashop/checkout  -- HikaShop version -- : HikaShop Business 2.3.1 -- Joomla version -- : 3.3.1  Hello,  For the webshop I'm currently building I'm using the Advanced Datepicker plugin in my shopping cart, this feature suits me very well!  But I'm facing a small issue, I've set the default day on &quot;today&quot;, disabled Saturdays and Sundays and have an additional waiting time of 5 days. When I'm heading to my checkout the default day + 5 days is set, but when I want to chose another future date, the calendar automatically switches to January 2020 and I have to browse all back to 2014, Is there a way to open in the same month as the current date?  Thanks in advance,  Greetings, Hidde")*

Hello Jerome,

The problem is now fixed, it was (all the time I think) a problem with the date Format, I had it set as "l d F Y", this made some troubles I think, now I've switched it to "d/m/Y" and everything works fine (there are only no textual representations but that's not a big problem).

Thank you for your help!

Hidde

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTU1OC1kYXRlcGlja2VyLWF1dG9tYXRpY2FsbHktdG8tamFuLTIwMjA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
