@adempiere/grpc-api
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -160,3 +160,2 @@ /************************************************************************************* | ||
const typeOfValue = convertValues.typeOfValue(value); | ||
switch (typeOfValue) { | ||
@@ -173,9 +172,12 @@ case 'Number': | ||
break; | ||
case 'Date': | ||
convertedValue = convertValues.getValueFromDate(value); | ||
case 'String': | ||
break; | ||
default: | ||
convertedValue = convertValues.getValueFromString(value); | ||
let parsedValue = Date.parse(value) | ||
if (parsedValue) { | ||
convertedValue = convertValues.getValueFromDate(parsedValue); | ||
} else { | ||
convertedValue = convertValues.getValueFromString(value); | ||
} | ||
break; | ||
@@ -182,0 +184,0 @@ } |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "ADempiere Web Store write in Javascript for a node service", | ||
@@ -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
2176298
63626