Skip to content
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

dateFormat in slider edit based on admin user locale #80

Open
wants to merge 2 commits into
base: 2.4
Choose a base branch
from

Conversation

LusienGG
Copy link

I`ve been facing an issue with this extension for a long time ( 2 years ) where users with different locale are editing the start/end date of the banners.

Examples to test:

Make your admin user with the country option Bulgaria for example.
Create a slider with start date 12 Feb 2021 using js datepicker.
As expected from the hardcoded format and the locale:

  • the date used is 12/02/2021 which is 2 Dec 2021 and the banner does not fire up.

I am just contributing my fix to the issue for the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant