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

Develop #785

Merged
merged 2 commits into from Sep 13, 2015
Merged

Develop #785

merged 2 commits into from Sep 13, 2015

Conversation

mwildenb
Copy link
Contributor

Changed the Calendar.js to sync correctly with the underlying text field. The Date value was not parsed correctly when using single digit month and day dates.

  • Added a padding function to fill out the day / month to a two character string
  • created an extra function for formatting the date string before storing it in the 'element.data('_storage')' array
  • Added an extra option to sync the calendar with the date added in the input field
    These changes where necessary to use the calendar control when binding it with Angularjs. I will add an extra directive to the forum for people who want to use it in a binding scenario.

…he date format correctly with padded zeroes. Added an extra option to sync the calender to a new date. This is usefull when using the calendar in a binded situation
olton added a commit that referenced this pull request Sep 13, 2015
@olton olton merged commit 580946c into olton:develop Sep 13, 2015
olton added a commit that referenced this pull request Sep 13, 2015
@mwildenb mwildenb deleted the develop branch September 13, 2015 08:23
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.

None yet

2 participants