Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 358 Bytes

readme.md

File metadata and controls

34 lines (20 loc) · 358 Bytes

postgres-date-utc

Postgres date column parser

Install

$ npm install --save postgres-date

Usage

var parse = require('postgres-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