[wellwell-devel] [wellwell] Join dates produced by [datetime list] when called from ITL.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Tue Jun 22 08:07:05 UTC 2010


commit b985e8cdef5faa3e8ca05e73cf5c9f886201391c
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Tue Jun 22 10:05:47 2010 +0200

    Join dates produced by [datetime list] when called from ITL.

 global/datetime.tag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/global/datetime.tag b/global/datetime.tag
index 1dcfb2e..02b0676 100644
--- a/global/datetime.tag
+++ b/global/datetime.tag
@@ -249,7 +249,7 @@ sub {
 			@list = map {$_->strftime($fmt)} @list;
 		}
 
-		return @list;
+		return wantarray ? @list : join(' ', @list);
 	} elsif ($function eq 'month') {
 		return $from_dt->month();
 	} elsif ($function eq 'weekday') {



More information about the wellwell-devel mailing list