-
Notifications
You must be signed in to change notification settings - Fork 573
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
date_format parameter not applied to non-timestamp based date inputs. #39
Comments
It appears that |
That's precisely what happens to me, the format is applied to the textbox, but not to the datepicker. |
My current workaround: $('.cmb2-datepicker').focus(function () {
var val = $(this).val();
$(this).datepicker("option", "dateFormat", "dd/mm/yy");
$(this).val(val);
}); |
@tacone, I have working fix in #446. Hopefully at some point we can finish integrating my PR into the main project. Regards. |
I can't test right now, as I'm a under a tight deadline, will surely do in the next project. Thank you for now. |
Closing as this looks resolved; @jtsternberg please reverse if I'm wrong 😄 |
Looks like
date_format
is only ever applied inside of text_date_timestamp(). I would assume we want it to be applicable totext_time
andtext_date
, but I'll leave it up to your discretionThe text was updated successfully, but these errors were encountered: