From: Zach Copley Date: Wed, 16 Mar 2011 06:02:05 +0000 (-0700) Subject: Extended profile - add fancy datepicker widgets X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b9065d7bc19e55309204e8beb485b9cad496f0da;p=quix0rs-gnu-social.git Extended profile - add fancy datepicker widgets --- diff --git a/plugins/ExtendedProfile/js/profiledetail.js b/plugins/ExtendedProfile/js/profiledetail.js index 9fb935f153..d24b4aabe8 100644 --- a/plugins/ExtendedProfile/js/profiledetail.js +++ b/plugins/ExtendedProfile/js/profiledetail.js @@ -81,6 +81,10 @@ $(document).ready(function() { source: 'finduser', minLength: 2 }); + $.datepicker.formatDate('yy-mm-dd'); + + $("input[name$=-start], input[name$=-end], #extprofile-birthday").datepicker({ dateFormat: 'd M yy' }); + var multifields = ["phone-item", "experience-item", "education-item", "im-item"]; for (f in multifields) {