Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siveing/khmerdate-conversion
Established the khmer date conversion, from UTC date to Khmer date format
https://github.com/siveing/khmerdate-conversion
chai converter dateconverter khmer khmer-calendar khmer-language moment-js rollup typescript
Last synced: about 2 months ago
JSON representation
Established the khmer date conversion, from UTC date to Khmer date format
- Host: GitHub
- URL: https://github.com/siveing/khmerdate-conversion
- Owner: siveing
- License: mit
- Created: 2023-10-14T06:25:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-28T08:29:32.000Z (about 1 year ago)
- Last Synced: 2024-11-14T15:54:58.243Z (2 months ago)
- Topics: chai, converter, dateconverter, khmer, khmer-calendar, khmer-language, moment-js, rollup, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/khmerdate-conversion
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# khmerdate-conversion
Installation
------------```bash
npm i khmerdate-conversion
``````bash
pnpm i khmerdate-conversion
``````bash
yarn add khmerdate-conversion
```Usage
------------
```
import KhmerDateConversion from 'khmerdate-conversion';const date = new Date();
const dateKhmer = KhmerDateConversion(date, 'LLL');
const dateKhmer1 = KhmerDateConversion('2002-08-06', 'LL');
const dateKhmer2 = KhmerDateConversion('2002-08-06', 'L');{dateKhmer}
```Testing
--------------
You can run the command `yarn test` to check the mocha testing.You can run the example by in `cd example`
And run the command `yarn && yarn dev`.Support
--------------
Pull requests and new issues are of course welcome. If you have any questions, comments or feedback you can contact us by email at [email protected]. We will try to answer your questions, but we have limited manpower so please, be patient with us.