 
     while prevMonth.valueOf() < nextMonth
       html.push '<tr>' if prevMonth.getDay() == @weekStart
-
+        
       clsName = '';
       if prevMonth.getMonth() < month
-        clsName += ' old'
+        clsName += ' old'   
       else if prevMonth.getMonth() > month
         clsName += ' new'
-
-      if prevMonth.valueOf() == today
-        clsName += ' today'
-
+      
       if prevMonth.valueOf() == currentDate
         clsName += ' active'
-
+      
       html.push "<td class='day#{clsName}'>#{prevMonth.getDate()}</td>"
       html.push '</tr>' if prevMonth.getDay() == @weekEnd
-
+        
       prevMonth.setDate(prevMonth.getDate()+1)
+    
 
     @picker.find('.datepicker-days tbody').empty().append(html.join(''))
     currentYear = date.getFullYear()
-
+    
     months = @picker.find('.datepicker-months').find('th:eq(1)').text(year).end().find('span').removeClass('active')
     months.eq(date.getMonth()).addClass('active') if currentYear == year
 

      daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"]
      months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]
      monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"]
  ru:
    dates:
      format: 'dd.mm.yyyy'
      weekStart: 1

    else
      parent.find('.js-aw-1i').val(@date.getFullYear())
      parent.find('.js-aw-2i').val(@date.getMonth() + 1)
      parent.find('.js-aw-3i').val(@date.getDate())      


class Datepicker extends NativeRailsDatepicker

  constructor: (element, options)->
    super(element, options)
    @locale  = options.locale || @element.data('date-locale') || DateTools.getLocale() 
    @format  = DateTools.parseFormat(options.format || @element.data('date-format') || Locales[@locale].dates.format);
    @allowBlank = options.allowBlank ? @element.data('date-allow-blank') ? true
    @picker  = $(DateTools.template).appendTo('body').on {
