Skip to content

siveing/khmerdate-conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Established the khmer date conversion, from UTC date to Khmer date format

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors