Comparing version 0.0.8 to 0.0.9
@@ -28,3 +28,2 @@ | ||
"birthday": function() { | ||
//19879908 | ||
var dob = res2[6].match(/(\d{4})(\d{2})(\d{2})/); | ||
@@ -44,3 +43,3 @@ dob[1] = parseInt(dob[1]); | ||
dob[2]--; | ||
return (new Date(dob[1], dob[2], dob[3])); | ||
return (new Date(Date.UTC(dob[1], dob[2], dob[3])); | ||
}, | ||
@@ -47,0 +46,0 @@ "dl_overflow": res2[7], |
{ | ||
"name": "aamva", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Parse AAMVA magnetic stripe", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -77,2 +77,3 @@ # aamva.js | ||
* 0.0.8 removed debug statements | ||
* 0.0.9 changed birthday to utc date | ||
@@ -79,0 +80,0 @@ |
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
8096
95
121