Skip to content

dateFormat in slider edit based on admin user locale#80

Open
LusienGG wants to merge 2 commits intomageplaza:2.4from
LusienGG:2.4
Open

dateFormat in slider edit based on admin user locale#80
LusienGG wants to merge 2 commits intomageplaza:2.4from
LusienGG:2.4

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