<html>
<body>
<font size=3>At 01:07 PM 7/19/2007, rahed wrote:<br>
<blockquote type=cite class=cite cite="">&quot;Peter Edwards&quot;
&lt;peter@dragonstaff.com&gt; writes:<br><br>
&gt; I'm using AS Perl 5.8.8 817 and POSIX::strftime %T is broken in
that.<br>
&gt;<br>
&gt; strftime(&quot;%Y-%m-%d %T&quot;, localtime time)<br>
&gt; gives '2007-07-18 ', empty string in place of %T<br><br>
Same with perl, v5.8.8 built for MSWin32-x86-multi-thread compiled
with<br>
MinGW.</font></blockquote><br>
Binary build 819 [267479] provided by ActiveState
<a href="http://www.activestate.com/" eudora="autourl">
http://www.ActiveState.com<br>
</a>Built Aug 29 2006 12:42:41<br><br>
&nbsp;&nbsp;&nbsp; perl -MPOSIX -e &quot;print POSIX::strftime('%T',
localtime time)&quot;<br>
infinite loops, but <br>
&nbsp;&nbsp;&nbsp; perl -MPOSIX -e &quot;print POSIX::strftime('%T ',
localtime time)&quot;<br>
<font size=3>doesn't.&nbsp; Including anything else in the format stops
it from looping.&nbsp; And <br>
</font>&nbsp;&nbsp;&nbsp; perl -MPOSIX -e &quot;print POSIX::strftime('',
localtime time)&quot;<br>
<font size=3>also doesn't loop.&nbsp; So it is definitely something wrong
in handling %T ... and any other format letter not shown as defined in
the POSIX::strftime docs&nbsp; (&quot;These are
aAbBcdHIjmMpSUwWxXyYZ%.&quot;).&nbsp; Try <br>
</font>&nbsp;&nbsp;&nbsp; perl -MPOSIX -e &quot;print
POSIX::strftime('%C', localtime time)&quot;<br>
<font size=3>but don't wait long ...<br><br>
Anyway, apparently any format letter not *explicitly* mentioned as
supported, will fail, sometimes infinitely.  <br><br>
I can't find any applicable bugs in AS bugzilla.&nbsp; Guess I'll file
one.&nbsp; (It's been _months_ since my last...)<br><br>
<br>
<x-sigsep><p></x-sigsep>
-- <br>
I'm a pessimist about probabilities; I'm an optimist about
possibilities.<br>
&nbsp;&nbsp;&nbsp; Lewis Mumford&nbsp; (1895-1990) <br>
</font></body>
</html>