joergrech / KickstartWithBootstrap

Kickstart is an extension for Grails in order to start your project with a good looking frontend. It is intended to be used in rapid application scenarios such as a Startup Weekend or a prototyping session with a customer. This plugin provides adapted scaffolding templates for standard CRUD pages using Twitter's CSS Framework Bootstrap and offers some basic pages for a web site.
65 stars 52 forks source link

bs:datePicker displays the default date with the previous month instead of the current #14

Closed omixer closed 12 years ago

omixer commented 12 years ago

The month in java calendar is zero based (http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html#MONTH) while the html implementation is 1 based (http://tools.ietf.org/html/rfc3339#section-5.6) The way bs:datePicker is implemented doesn't take this into account and thus the default date is always a month behind!

joergrech commented 12 years ago

Thanks for the tip - the taglib is now corrected.