You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sigonasr2
ff41d1b1ad
|
4 years ago | |
---|---|---|
.. | ||
index.js | 4 years ago | |
license | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago |
readme.md
postgres-date
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