my-date-converter
v1.0.1
Published
Components that convert time and date to user's local date-time format
Downloads
119
Readme
Convert date time to user's local date time
Built with MomentJS
Usage
import { MyDate } from 'my-date-converter'
Params
timeZone
: timeZone of your provided dateTime
dateTime
: dateTime in 'MM/DD/YYYY hh:mm'
outputFormat (optional)
: output format defaults to 'MM/DD/YYYY hh:mm'