1.1.0 • Published 3 years ago

jpdate v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

jpdate

License: MIT

日本向けフォーマット付きDate

Description

jpdateはJavascriptのDateを日本向けフォーマット(yyyy/mm/dd HH:MM:SS)を簡単に使えるようにしたライブラリです。

Installation

npm install jpdate

Usage

import JpDate from 'jpdate'

const date = new JpDate()
const text = date.format() // ex. 2022/04/15 10:43:52

Accessors

AccessorTypeOverview
yearnumber
monthnumber
datenumber
hournumber
minutenumber
secondnumber
millisecondnumberミリ秒

Functions

FunctionReturn TypeOverview
formatstringyyyy/mm/dd HH:MM:SS
formatDatestringyyyy/mm/dd
formatTimestringHH:MM:SS
1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago