khmerdate-conversion
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

khmerdate-conversion

Installation

npm i khmerdate-conversion
pnpm i khmerdate-conversion
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');

<p>{dateKhmer}</p>

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 siveing.huyy@gmail.com. We will try to answer your questions, but we have limited manpower so please, be patient with us.

/khmerdate-conversion/

    Package Sidebar

    Install

    npm i khmerdate-conversion

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    8.75 kB

    Total Files

    11

    Last publish

    Collaborators

    • siveing