This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 189
Add option 'select day' #29
Comments
I'll try to add it, but if you did it earlier - pull request are welcomed! |
Sorry, I have no time and ideas for pull request. # extract string with formatted date from plugin elements
setDate: ($input) ->
$monthButton = $('.pmu-months .pmu-button')
$.each $monthButton, (i, button) ->
$button = $(button)
$button.click ->
month = $(this).text()
year = $('.pmu-month.pmu-button').text()
formattedDate = month + ' ' + year
$input.val(formattedDate) |
Fixed in 41a3e95, will be released soon. P.S. You can't imagine how much time I spent to make it working properly. Hope it worth that. |
Thank you very much! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Было бы здорово добавить опцию 'select day' (по аналогии с select_month и select_year), например, для случая, когда нужно выбирать только год и месяц
The text was updated successfully, but these errors were encountered: