January 24, 2018 at 3:32 am #119380
I have not been able to find where the date display format is controlled on the checkout pages, specifically for “Departure date:”. Changing the WordPress date display setting works for most situations but not all. I am attaching some examples. I also found a date format setting in the Traveler advanced settings but changing that did not seem to make any difference.January 24, 2018 at 3:46 pm #119930
You can change the date format in Traveler Settings > Advance Options > Input date format.
ThanksJanuary 24, 2018 at 6:29 pm #120220
Thanks Bryan but I had already configured that field to display the date format I wanted. As a test, I changed it around so that the year was first but that did not affect the “Departure date:” being displayed. Here’s my current setting in the attachment.January 25, 2018 at 9:45 am #120710
As your image setting, the year stay in the last place so it can not display at the first in departure date.
Please check again.
ThanksJanuary 25, 2018 at 10:53 am #120780
Displaying the year first was only a test to see if anything changed in the area where the “Departure date:” is displayed. From what I can tell, the date formatting in the Theme Advanced Settings has no effect on that particular date display. Maybe it’s a WooCommerce setting.January 25, 2018 at 5:13 pm #121200
Currently, there is only place to change date format of theme.
ThanksMarch 13, 2018 at 2:17 pm #149460
I still cannot resolve the issue with the date format displaying incorrectly in the checkout process. I want DD-MM-YYYY but I am getting MM-DD-YYY in the display for “Departure Date”. Everywhere it seems to be the correct DD-MM-YYYY format. I thought it might be a Woocommerce issue so I added a piece of code I found to functions.php that supposedly enabled control over the date format but that made no difference. I have set the date format correctly in the WP general settings and in Traveler so that is not the issue.
I really need this resolved so any help you can give me would be appreciated.
Alan TignerMarch 13, 2018 at 3:35 pm #149670
Woocommerce usign date format in Settings > General > Date Format.
Please check it again because i can not access your admin dashboard.
ThanksMarch 13, 2018 at 3:50 pm #149710
I tested changing that setting two different ways and neither made a difference in what was displayed. I believe that your code has been added to the Woocommerce checkout pages as they appear different than the standard Woocommerce pages (I tested this) and contain info about the tour that is being booked. I’m attaching two more screen shots.
I have also elevated you to administrator again if you want to look at the site.March 13, 2018 at 4:07 pm #149760
I believe that whatever is populating the data that is controlled by “st_booking_data” which is called my Woocommerce modules (cart.php, etc.) in the checkout process and may be the issue is. Just offering my suspicions.March 13, 2018 at 4:35 pm #149780
I checked again and see we fixed the date format in the code so it does not take the date format in theme setting to display.
We will update it right away.
ThanksMarch 14, 2018 at 9:25 am #150360
Would it be possible to get the fix for this as soon as possible as that is the reason we have not launched the site? I am only in Vietnam a few more days and would like to get that resolved. If you want to update my installation directly before a fix is added to the template that would also work.
Alan TignerMarch 14, 2018 at 4:39 pm #150670
I attached a zip file that content 2 files to fix this issue. You can unzip the file and copy the 2 files to wp-content\themes\traveler\st_templates\tours and replace by existing file to fix.
ThanksMarch 14, 2018 at 9:23 pm #150850
That fixed the date on the cart page but not on the final order page or either email (office/customer). Hopefully it won’t be complicated. I’m attaching examples.
Alan TignerMarch 14, 2018 at 9:34 pm #150890
The forum ‘Traveler’ is closed to new topics and replies.