     datetimepicker.setOptions({
       minDate: min_date,
       maxDate: max_date,
+      startDate: today,
       formatDate: format
     })
 


    root.find('.temporal-recurring-picker').datetimepicker
      format: 'm-d H:i:s',
      className: prefix + '-datetimepicker recurring-datetimepicker',
      yearStart: 2007,
      yearEnd: 2007,
      onShow: (dp,$input) ->
        updateMonthButtons($(this).find('.xdsoft_month'))
        setMinMaxOptions(root, this, $input, 'recurring')
      onChangeDateTime: (dp,$input) ->
        # Default minutes and seconds to 00
        datetime = $input.val().split(":")
        datetime[1] = "00"
        datetime[2] = "00"
        $input.val(datetime.join(":"))

        validateTemporalInputs(root)

        $input.trigger('change')
      onChangeMonth: (dp,$input) ->
        updateMonthButtons($(this).find('.xdsoft_month'))

    root.find('.temporal-recurring-year-range').slider({
      min: 1960,

do (document, $=jQuery, edsc_date=@edsc.util.date, temporalModel=@edsc.page.ui.temporal, plugin=@edsc.util.plugin, page=@edsc.page) ->

  now = new Date()
  today = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate())
  console.log today
  current_year = new Date().getUTCFullYear()

  validateTemporalInputs = (root) ->
