UNPKG

material-ui-pickers-hijri-utils

Version:

Calendar utils that add full hijri calendar system support to material-ui-pickers

31 lines (20 loc) 1.11 kB
# Hijri calendar utils for Material UI Pickers This library provides implementation specific utility functions that can be used by the [material-ui-picker](https://github.com/dmtrKovalenko/material-ui-pickers) components to correctly render a Hijri calendar. Please refer to material-ui-pickers's [documentation](https://github.com/dmtrKovalenko/material-ui-pickers) under localized example to learn how to use it. Exactly like Persian but replacing `j` format to `i` (i.e. `date.format('iYYY')` instead of `date.format('jYYY')` ) ## Installation You can install this package with the following command: ```sh npm install material-ui-pickers-hijri-utils ``` ## Thanks Great thanks to [material-ui](https://github.com/callemall/material-ui) and [material-ui-pickers](https://github.com/dmtrKovalenko/material-ui-pickers) for their great react components. Inspired by [material-ui-pickers-jalali-utils](https://github.com/alitaheri/material-ui-pickers-jalali-utils) ## License This project is licensed under the [MIT license](https://github.com/roshdy/material-ui-pickers-hijri-utils/blob/master/LICENSE).