1.2.0 • Published 2 years ago

thai-date v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

thai-date

Convert Thai date range from String to Date

แปลงวันที่ภาษาไทยแบบช่วงวันที่ จาก String ให้เป็น Date

Example / ตัวอย่าง

const thaidate = require('thai-date');

const range = thaidate.getDateRanges('23-3 พฤศจิกายน 2562');

console.log(range);

// output

{ 
  from: 2019-10-22T17:00:00.000Z,
  fromText: '2019-10-23',
  to: 2019-11-02T17:00:00.000Z,
  toText: '2019-11-03'
}
1.2.0

2 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago