react-widgets icon indicating copy to clipboard operation
react-widgets copied to clipboard

Feature Request: Documentation for react-widgets-moment

Open ikreb7 opened this issue 3 years ago • 4 comments

Hello,

I miss more documentation about the react-widgets-moment package, e.g. momentLocalizer.

Would be very nice if you could extend the current docs.

ikreb7 avatar Jun 22 '21 11:06 ikreb7

docs are here! http://jquense.github.io/react-widgets/docs/localization#momentjs-date

jquense avatar Jun 22 '21 12:06 jquense

@jquense the doc is hardly working..

Moment format props accept strings

<DatePicker format="mmm YYY" />

I don't understand the meaning. format is not a valid prop of DatePicker. Passing format in doesn't do anything. I'm using: "react-widgets": "^5.5.0", "react-widgets-moment": "^5.0.10",

buacula avatar Nov 11 '21 08:11 buacula

ok so I found it, it should be

<DatePicker valueDisplayFormat="mmm YYY" valueEditFormat="mmm YYY" />

buacula avatar Nov 11 '21 08:11 buacula

@jquense Where does that <Localization /> component from the examples come from?

joe-at-shipwell avatar Jun 27 '23 14:06 joe-at-shipwell