summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-02-25 09:57:26 +0000
committerdeva <deva>2009-02-25 09:57:26 +0000
commitaace049356602c84b2214249b2fbbec407956549 (patch)
treefce1f581db7d27cb6d072b1257eb429c3b2a2b29
parent675222d2647a5db51d2c3902f5a349a5e7fdf110 (diff)
Fix of date string formatting.
-rw-r--r--server/xml/macros/B.2.1.3.xml2
1 files changed, 1 insertions, 1 deletions
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'