strftime(%u) never gives me any output in an application ! While strftime(%w) does. (output 6 (saterday) ) Is this a bug or could there be any other reason? Just as a test, I tried: <action application="record_session" data="$${base_dir}/recordings/${strftime(%u)}_to_${destination_number}_from_${caller_id_number}.wav"/> output: _to_2000_from_2003.wav ------------------------------------------------------------------------------------------------------------------------------------- <action application="record_session" data="$${base_dir}/recordings/${strftime(%w)}_to_${destination_number}_from_${caller_id_number}.wav"/> output: 6_to_2000_from_2003.wav -- View this message in context: http://www.nabble.com/strftime%28-u%29-tp20635116p20635116.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Brian West-3 wrote:
what platform are you on?
On Nov 22, 2008, at 4:44 AM, henkoegema wrote:
strftime(%u) never gives me any output in an application ! While strftime(%w) does. (output 6 (saterday) )
Linux: Ubuntu 8.04 ( 2.6.24-19-server) FS: Version 1.0.trunk (10272) -- View this message in context: http://www.nabble.com/strftime%28-u%29-tp20635116p20639213.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Hello, I had the same issue, this is ignored in switch_apr.c:switch_strftime. I don't know why, but %w is almost the same so I didn't deal with it.. Regards, Tamas henkoegema írta:
Brian West-3 wrote:
what platform are you on?
On Nov 22, 2008, at 4:44 AM, henkoegema wrote:
strftime(%u) never gives me any output in an application ! While strftime(%w) does. (output 6 (saterday) )
Linux: Ubuntu 8.04 ( 2.6.24-19-server) FS: Version 1.0.trunk (10272)
%u is not available on windows its ignored %w is the same thing different start day. /b On Nov 27, 2008, at 2:23 AM, Tamas Cseke wrote:
Hello,
I had the same issue, this is ignored in switch_apr.c:switch_strftime. I don't know why, but %w is almost the same so I didn't deal with it..
Regards, Tamas
participants (3)
-
Brian West
-
henkoegema
-
Tamas Cseke