Hi,

Looking  perldoc POSIX, it says

#-----------------
If you want your code to be portable, your format (fmt ) argument should 
use only the conversion specifiers defined by the ANSI C standard (C89, 
to play safe). These are aAbBcdHIjmMpSUwWxXyYZ%.
#------------------

so that would tell you that "%F %T" may not be portable.

Not that I knew this until just looking - but I had come across a 
similar issue in the past and just assumed a longer format string would 
work - which it did.

Regards

Mark




On 04/02/2011 11:25, Gabor Szabo wrote:
> On Fri, Feb 4, 2011 at 11:50 AM, Mark Dootson<mark.doot...@znix.com>  wrote:
>> Hi,
>>
>> It is expected, as far as I know.
>> Different format strings for Windows
>>
>> perl -MPOSIX -e " print POSIX::strftime ('%Y-%m-%d %H:%M:%S', localtime())"
>>
>> Seems to work.
>
> Thanks, I update Padre with this.
>
> Do you know if this is documented somewhere?
>
> http://perldoc.perl.org/POSIX.html does not have all the details.
>
> regards
>     Gabor

_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to