From 3d5f3c8715fb2b01595a5891a7cf9102beaad3bc Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 25 Feb 2009 09:51:44 +0000 Subject: Fix of date string formatting. --- server/xml/macros/B.2.1.3.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/xml/macros/B.2.1.3.xml b/server/xml/macros/B.2.1.3.xml index 6d3d29c..cd2f356 100644 --- a/server/xml/macros/B.2.1.3.xml +++ b/server/xml/macros/B.2.1.3.xml @@ -40,7 +40,7 @@ ${current_eye_disease} identifier = '' suffix = '' - if(num == 0 and days == 0) + if(num == 0 and math.floor(math.abs(days)) = 0) then num = 0 identifier = 'dag' @@ -85,7 +85,7 @@ ${current_eye_disease} .. getValue('observeret') .. ' igennem ' .. num .. ' ' .. identifier .. suffix .. '. Symptomerne er opstået ' .. getValue('when') .. ' og er efterfølgende ' - ..getValue('then') + ..getValue('then') .. '.' "> @@ -130,7 +130,7 @@ ${current_eye_disease}