This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new 7620be8f0f Fixed: DATASPD_MEASURE has incorrect conversionFactors
(OFBIZ-4251) (#1253)
7620be8f0f is described below
commit 7620be8f0fb3e86d0cc99ef23783130caa326e9a
Author: Mridul Pathak <[email protected]>
AuthorDate: Fri May 29 15:48:30 2026 +0530
Fixed: DATASPD_MEASURE has incorrect conversionFactors (OFBIZ-4251) (#1253)
Fixed: DATASPD_MEASURE has incorrect conversionFactors
(OFBIZ-4251)
Corrected the conversion factors under the DATASPD_MEASURE unit type
from binary multipliers (1024) to metric decimal multipliers (1000) in
UnitData.xml in accordance with international standards (SI / IEC
80000-13 / NIST guidelines).
---
framework/common/data/UnitData.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/framework/common/data/UnitData.xml
b/framework/common/data/UnitData.xml
index 314f40c5c1..8b7138bfc7 100644
--- a/framework/common/data/UnitData.xml
+++ b/framework/common/data/UnitData.xml
@@ -59,10 +59,10 @@ under the License.
<Uom abbreviation="Gbps" description="Gigabit-per-second of Data"
uomId="DATASPD_Gbps" uomTypeId="DATASPD_MEASURE"/>
<Uom abbreviation="Tbps" description="Terabit-per-second of Data"
uomId="DATASPD_Tbps" uomTypeId="DATASPD_MEASURE"/>
- <UomConversion uomId="DATASPD_Kbps" uomIdTo="DATASPD_bps"
conversionFactor="1024"/>
- <UomConversion uomId="DATASPD_Mbps" uomIdTo="DATASPD_Kbps"
conversionFactor="1024"/>
- <UomConversion uomId="DATASPD_Gbps" uomIdTo="DATASPD_Mbps"
conversionFactor="1024"/>
- <UomConversion uomId="DATASPD_Tbps" uomIdTo="DATASPD_Gbps"
conversionFactor="1024"/>
+ <UomConversion uomId="DATASPD_Kbps" uomIdTo="DATASPD_bps"
conversionFactor="1000"/>
+ <UomConversion uomId="DATASPD_Mbps" uomIdTo="DATASPD_Kbps"
conversionFactor="1000"/>
+ <UomConversion uomId="DATASPD_Gbps" uomIdTo="DATASPD_Mbps"
conversionFactor="1000"/>
+ <UomConversion uomId="DATASPD_Tbps" uomIdTo="DATASPD_Gbps"
conversionFactor="1000"/>
<!-- =============== TIME_FREQ_MEASURE =============== -->
<Uom abbreviation="ms" description="Time in Milli-Seconds" uomId="TF_ms"
uomTypeId="TIME_FREQ_MEASURE"/>