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. Regards Mark On 04/02/2011 09:36, Gabor Szabo wrote: > When trying to open a session ctrl-alt-o I see the names and then %F %T > it comes from Padre::Wx::Dialog::SessionManager where the code is > strftime ('%F %T', localtime()) > > On Linux it prints a date/time string like this: 2011-02-04 01:32:00 > On Windows it keeps %F %T > > On the command line this on Linux: works as expected > perl -MPOSIX -e ' print POSIX::strftime ("%F %T", localtime()), "\n"' > > but on Windows this: > perl -MPOSIX -e " print POSIX::strftime ('%F %T', localtime())" > prints > %F %T > > using Strawberry Perl 5.10.1 > > Is this a bug in perl on Windows or Strawberry Perl or is this the > expected behavior > as there is no POSIX on Windows. > > Gabor > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev