Skip to content
Snippets Groups Projects
Commit f2c47fdf authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Correcting mistake in f_getMonth function

parent 0fd390f7
No related branches found
No related tags found
No related merge requests found
...@@ -3482,9 +3482,7 @@ module OneM2M_Functions { ...@@ -3482,9 +3482,7 @@ module OneM2M_Functions {
var integer i; var integer i;
for(i := 4; i <= 5; i := i+1){ 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); return str2int(v_month);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment