MCPcopy Create free account
hub / github.com/flyfloor/react-component / initDate

Function initDate

component/Calender.js:23–27  ·  view source on GitHub ↗
(date=this.props.value)

Source from the content-addressed store, hash-verified

21 },
22
23 initDate(date=this.props.value){
24 const {year, month, day} = dateStr2Obj(date, this.dateParams());
25 const value = obj2DateStr(year, month, day);
26 return {year, month, day, value}
27 },
28
29 handleClick(date){
30 const value = date2DateStr(date);

Callers

nothing calls this directly

Calls 2

dateStr2ObjFunction · 0.50
obj2DateStrFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…