Correcting mistake in f_getMonth function

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 0fd390f7
......@@ -3482,9 +3482,7 @@ module OneM2M_Functions {
var integer i;
for(i := 4; i <= 5; i := i+1){
if(p_timestamp[i] != "0") {
v_month := v_month & p_timestamp[i];
}
v_month := v_month & p_timestamp[i];
}
return str2int(v_month);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment