This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f25aa5447d Fixed: DATASPD_MEASURE has incorrect conversionFactors 
(OFBIZ-4251) (#1251)
f25aa5447d is described below

commit f25aa5447d0978ed72beba7001a698a790e02aaa
Author: Mridul Pathak <[email protected]>
AuthorDate: Fri May 29 15:48:21 2026 +0530

    Fixed: DATASPD_MEASURE has incorrect conversionFactors (OFBIZ-4251) (#1251)
    
    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"/>

Reply via email to