-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accommodation Booking Setting doesn't follow WP Time format Setting #364
Comments
ResearchThe However, the implementation is somewhat bugged. Primarily, it's the browser's locale and not the system's locale that determines how the input will display the clock. This can lead to bugs where the browser locale, for some reason, is different than the system. In addition, there's no way to customize the manually with an attribute. As an example, when I change my time to 24 hour display the stack overflow displays in 24 hour time immediately. However, wp-env required me to restart Google Chrome before the change took effect. Stackoverflowwp-env12 Hour24 hourSolutions
|
@jeffpaul since this issue isn't strictly a bug, I wanted to get your thoughts regarding solutions for this ticket based on my comment above. I've proposed two possible solutions. |
This comment has been minimized.
This comment has been minimized.
Note: Use https://github.com/woocommerce/woocommerce-bookings/pull/3926 as a template for resolving this issue as well |
Warning |
@vikrampm1 What do you suggest for PR https://github.com/woocommerce/woocommerce-bookings/pull/3926. When are we going to push this PR? If this takes time, I can look for the hard steps that @MaxwellGarceau mentioned in the PR. |
@Sourabh208 https://github.com/woocommerce/woocommerce-bookings/pull/3926 is currently awaiting regression testing from @ankitguptaindia, once that is complete I can look to merge that PR before the end of this week. So, fine to hold off QA on this until then. |
Bug Description:
When the WordPress General Setting is configured to use a 24-hour time format, the Accommodation Booking Setting still displays the time in the AM/PM format.
We have fixed the same issue in the Booking extension. WOuld be great if fix here on this extension as well.
Steps to Reproduce:
Expected Result:
The time format displayed in the Accommodation Booking Setting should follow the 24-hour time format consistent with the WordPress general setting.
Actual Result:
The Accommodation Booking Setting continues to display the time in the AM/PM format, even though the WordPress general setting is configured for the 24-hour time format.
The text was updated successfully, but these errors were encountered: