Skip to content

vogievetsky/postgres-date-utc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Postgres date column parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%