postgres-date-utc

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    82
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    82
  • 1.0.2
    1
  • 1.0.1
    0

Package Sidebar

Install

npm i postgres-date-utc

Weekly Downloads

76

Version

1.0.3

License

MIT

Last publish

Collaborators

  • vadimon