Skip to content
Snippets Groups Projects
Unverified Commit 4ebc0376 authored by Daniel's avatar Daniel
Browse files

STY: Formatting only

parent 750a770f
Branches
No related tags found
No related merge requests found
......@@ -176,7 +176,8 @@ BEGIN
ELSEIF operator = "<=" THEN
IF mon != 0 and dom != 0 THEN
-- Full date YYYY-MM-DD
RETURN CONCAT(" subdata.value<=",vILB_Date, " or (subdata.value<=", yea*10000 + mon*100, " and subdata.value%100=0)");
RETURN CONCAT(" subdata.value<=", vILB_Date,
" or (subdata.value<=", yea*10000 + mon*100, " and subdata.value%100=0)");
ELSEIF mon != 0 THEN
-- Date is fragment YYYY-MM
RETURN CONCAT(" subdata.value<", vEUB_Date);
......@@ -187,10 +188,13 @@ BEGIN
ELSEIF operator = ">=" THEN
IF mon != 0 and dom != 0 THEN
-- Full date YYYY-MM-DD
RETURN CONCAT(" subdata.value>=",vILB_Date, " or (subdata.value>=", yea*10000 + mon*100, " and subdata.value%100=0) or (subdata.value>=", yea*10000, " and subdata.value%10000=0)");
RETURN CONCAT(" subdata.value>=", vILB_Date,
" or (subdata.value>=", yea*10000 + mon*100, " and subdata.value%100=0)" +
" or (subdata.value>=", yea*10000, " and subdata.value%10000=0)");
ELSEIF mon != 0 THEN
-- Date is fragment YYYY-MM
RETURN CONCAT(" subdata.value>=", yea*10000 + mon*100, " or (subdata.value>=", yea*10000, " and subdata.value%10000=0)");
RETURN CONCAT(" subdata.value>=", yea*10000 + mon*100,
" or (subdata.value>=", yea*10000, " and subdata.value%10000=0)");
ELSE
-- Date is fragment YYYY
RETURN CONCAT(" subdata.value>=", yea*10000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment