abecoffman/birthdaypicker — pull request #13 by jhitesma (2012-07-30 17:46:47+00:00)
Title: Few minor tweaks

My first attempt at sharing changes though github so I apologize if I messed this up.

I added the ability to specify the fieldname (keeping the default of 'birth') as a new settings option called "fieldName" this allows both customizing the name of that field and adds the ability to have more than one copy of the picker on a page at a time. (I had the need to edit two birthdays on the same page so I needed to add this.)

Additionally I removed the +"T00:00:00" bits when converting settings["defaultDate"] to a js date object as I found that with that code many date formats were failing on multiple browsers but by removing those bits I could get much more consistent cross-browser results. Details of the problem I was having and the tests I did here: https://plus.google.com/u/0/118393350380853916534/posts/f5joYSFXwao