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

Switch from jQuery UI datepicker to flatpickr #2506

Merged
merged 2 commits into from
Jan 17, 2018

Conversation

jhawthorn
Copy link
Contributor

@jhawthorn jhawthorn commented Jan 16, 2018

Rebase of #2477 with a few changes

  • Rebased (Fixing the build)
  • Added localization
  • Fixed CRLF line endings
  • Removed unused flatpickr files

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 great find (flatpickr.localize). I'm fine with using this library.

mdesantis and others added 2 commits January 17, 2018 13:19
This avoids needing to load extra js files (as we do for select2, and
regularly causes headaches). Instead we just use the translation keys we
already have available. This doesn't fill in all the information
flatpickr can store for a locale (ex. long day names and short month
names), but it fills in all the data we use.
@jhawthorn
Copy link
Contributor Author

Pushed again updating flatpickr to latest version (v4.2.3)

@jhawthorn jhawthorn merged commit 15e2dee into solidusio:master Jan 17, 2018
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.

3 participants