<html>
<body>
<font size=3>At 01:07 PM 7/19/2007, rahed wrote:<br>
<blockquote type=cite class=cite cite="">"Peter Edwards"
<peter@dragonstaff.com> writes:<br><br>
> I'm using AS Perl 5.8.8 817 and POSIX::strftime %T is broken in
that.<br>
><br>
> strftime("%Y-%m-%d %T", localtime time)<br>
> 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>
perl -MPOSIX -e "print POSIX::strftime('%T',
localtime time)"<br>
infinite loops, but <br>
perl -MPOSIX -e "print POSIX::strftime('%T ',
localtime time)"<br>
<font size=3>doesn't. Including anything else in the format stops
it from looping. And <br>
</font> perl -MPOSIX -e "print POSIX::strftime('',
localtime time)"<br>
<font size=3>also doesn't loop. So it is definitely something wrong
in handling %T ... and any other format letter not shown as defined in
the POSIX::strftime docs ("These are
aAbBcdHIjmMpSUwWxXyYZ%."). Try <br>
</font> perl -MPOSIX -e "print
POSIX::strftime('%C', localtime time)"<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. Guess I'll file
one. (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>
Lewis Mumford (1895-1990) <br>
</font></body>
</html>