Foro de WP Car Rental

Forum Navigation
Por favor, para crear entradas y debates.

Date picker format not correct on mobile

Página 1 de 3Siguiente

As the subject suggest, the date picker on the main search form is not adhering to the date format set in WP and CRS which are both set to dd/mm/yy

This renders search via mobile broken as you cannot search, it always shows an error "Pick-up is not possible on the 05/07/2019..."

 

Even though I did not search for 05/07/2019 - I searched for 25/07/2019

 

Also, when I select the date from the date-picker, the format also displays wrong: 07/25/2019 instead of 25/07/2019.

 

This works as expected on desktop, but not on mobile!

Please assist urgently.

Hello Hannes,

I believe that you are using native datepicker for mobiles, which is in "experimental" phase. Please, change to any other method, or set date format to Y/m/d, until next update that will we soon.

Hope it helps.

 

Thanks, this sorts out the failed error message, however now I sit with 2 different date formats.

 

Date Picker shows m/d/y and the rest is y/m/d.

 

Please advise how I can fix this?

 

Thanks

Hannes

Hello Hannes, Digging on the issue, I found the following post, made by a Chrome browser developer: Link to post

In resume, what it says is that inputs type "date", will use operating system (Windows, IOS) default format, and it cant be changed.

We already solved the issue with other date formats, to be able to continue de booking process; the update with the fix will be pulished soon.

Only problem we see, is that after this, you might see it properly, while other user wont, as its operating system configuration can be diferent.

Therefore the use of native selector for devices is still on experimental phase.

Another solution would be to use datepicker for devices, until experimental phase has passed.

Thanks a lot for sharing this with all of us you actually know what you are talking about! Bookmarked. Kindly also visit my site =). We could have a link exchange contract between us!ufabet เข้าสู่ระบบ

I like this website because so much utile stuff on here : D.https://www.ufabet.com

One time i actually got on your webpage even if finding account simply to some extent great deal submits. Fulfilling technique for coming, We're book-marking together receive styles ending rises up. CarDataBook

I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. 메이저사이트

I’m impressed, I have to admit. Really rarely must i encounter a weblog that’s both educative and entertaining, and let me tell you, you have hit the nail around the head. Your thought is outstanding; the thing is an issue that inadequate people are speaking intelligently about. My business is delighted i always stumbled across this within my find something relating to this. Digital Solution

Thank you for taking the time to publish this information very useful! ufabet เข้าสู่ระบบเว็บตรง

Página 1 de 3Siguiente