title: value.format is not a funtion when using react componet timepicker
body: <p>I try to use timepicker to change some value like</p>
  
  <pre><code>shutdown:{
  Sunday : "18:00:00"
  Monday : "20:00:00",
  }
  
  
  
  
  
  handleTimeChange(name, value){
        var shut = this.state.shutdown;
        shut[name] = value &amp;&amp; value.format("HH:mm:ss");
        console.log(value &amp;&amp; value.format("HH:mm:ss"));
        this.setState({
            shutdown : shut
        })
    }
  
  
  
  &lt;TimePicker value={this.state.shutdown.Monday} onChange = {this.handleTimeChange.bind(this,"Monday")} /&gt;
  </code></pre>
  
  <p>But I got error : value.format is not a function</p>
  
  <p>How can I fix this problem</p>
  
  <p>Reference <a href="https://github.com/react-component/time-picker/blob/master/examples/value-and-defaultValue.js" rel="nofollow noreferrer">https://github.com/react-component/time-picker/blob/master/examples/value-and-defaultValue.js</a>   </p>