im using TimeRange, and when i want to format time and use it in a child component im getting an error :"TypeError: _this.state.endTime.format is not a function" t