   
   pickDate: (date)-> =>
     @modifyValue -> @date date
+
+  setLocale: (locale)->
+    datetime = do moment
+    datetime.locale locale
+    @weekdayName = ((datetime.weekday weekday).format "ddd" for weekday in [0...7])
   
   render: ->
     {onClickYear, onClickMonth} = @props

                header: yes
                createElement MonthPicker,
                  ref: "month"
                  format: format
                  onChange: @handleMonth
                  value: value

              key: day
              style:
                textAlign: "center"
              @weekdayName[day]
        for week in [firstWeek..lastWeek]
          tr
            key: week
