Skip to content
Postgres date column parser
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Init Jun 13, 2015
.gitattributes
.gitignore
.travis.yml test on node lts+ Aug 20, 2019
index.js
license
package.json
readme.md
test.js

readme.md

postgres-date Build Status Greenkeeper badge

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 © Ben Drucker

You can’t perform that action at this time.