From aace049356602c84b2214249b2fbbec407956549 Mon Sep 17 00:00:00 2001
From: deva <deva>
Date: Wed, 25 Feb 2009 09:57:26 +0000
Subject: Fix of date string formatting.

---
 server/xml/macros/B.2.1.3.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/xml/macros/B.2.1.3.xml b/server/xml/macros/B.2.1.3.xml
index dd61256..df1483d 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}</resume>
 		     identifier = ''
 		     suffix = ''
 
-		     if(num == 0 and math.floor(math.abs(days)) == 0)
+		     if(num == 0 and math.abs(days) ~= days)
 		     then
 		       num = 0
 		       identifier = 'dag'
-- 
cgit v1.2.3