ra-hichestan-datetime
v1.0.0
Published
A serie of react-admin components to manipulate persian (jalali) date.
Downloads
21
Maintainers
Readme
React-admin component for persian date and time input
A react-admin persian(jalaali, jalali, shamsi) date input with / without picker, which allows the user to type or select the date from the picker.
The component is compatible with react 16.
This component is only a material-ui wrapper around material-ui-hichestan-datetimepicker. For features check that component's page.
Demo
As running react-admin site is not trivial, there is no demo for that, but you can see hte base component demo here.
Installation
Use npm i ra-hichestan-datetime
in order to install the module.
Usage
Please visit xcpilots-backoffice
Contribution
Feel free to fork and add some feature. If you have time to do improvement on the U/I that will be appreciated. If some one for any reason wants to send the date and time format in any other format than ISO 8601, we need to inject a date and time formatter into the component.
To start, make a clone and run:
npm install
npm start
and browse http://localhost:3000
For publishing
npm run build
npm publish
Acknowledgement
The project is bootstrapped by create-component-lib.
License
MIT License
Copyright (c) 2017 Kayvan Arianpour ([email protected])
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.