Comparing version 2.8.2 to 2.8.4
@@ -6,3 +6,3 @@ var arrayParser = require(__dirname + "/arrayParser.js"); | ||
//TODO this could do w/ a refactor | ||
var dateMatcher = /(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?/; | ||
var dateMatcher = /(\d{1,})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?/; | ||
@@ -12,3 +12,3 @@ var match = dateMatcher.exec(isoDate); | ||
if(!match) { | ||
dateMatcher = /^(\d{4})-(\d{2})-(\d{2})$/; | ||
dateMatcher = /^(\d{1,})-(\d{2})-(\d{2})$/; | ||
match = dateMatcher.test(isoDate); | ||
@@ -15,0 +15,0 @@ if(!match) { |
{ | ||
"name": "pg.js", | ||
"version": "2.8.2", | ||
"version": "2.8.4", | ||
"description": "node-postgres without the bindings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75294