uxdb-date

2.0.0 • Public • Published

postgres-date Build Status

Postgres date column parser

Install

$ npm install --save uxdb-date

Usage

var parse = require('uxdb-date')
parse('2011-01-23 22:15:51Z')
// => 2011-01-23T22:15:51.000Z

API

parse(isoDate) -> date

isoDate

Required
Type: string

A date string from Postgres.

License

MIT © Ben Drucker

Readme

Keywords

none

Package Sidebar

Install

npm i uxdb-date

Weekly Downloads

2

Version

2.0.0

License

ISC

Unpacked Size

3.91 kB

Total Files

4

Last publish

Collaborators

  • zhangzhou_npm