[Rd] format() under Windows giv wrong resuts with posix data (PR#12770)

2008-09-10 Thread pego . enrico
Full_Name: Enrico Pegoraro Version: 2.7.2 OS: Windows Submission from: (NULL) (87.4.187.101) The format(timevar,format="%I:%M:%S %p") instruction, with "timevar" a "POSIXt" "POSIXlt" variable, give wrong return data. The format sentence string "%I:%M:%S %p" requires times with AM/PM indicator,

Re: [Rd] (PR#12770) format() under Windows giv wrong resuts with

2008-09-10 Thread ripley
On Windows XP SP3 > format(pippo, format="%I:%M:%S %p") [1] "11:43:12 PM" In any case, if there is a problem it is in Windows, not in R, since this is an Windows service that is being called. So there is no evidence at all of any bug in R here. On Wed, 10 Sep 2008, [EMAIL PROTECTED] wrote: >

Re: [Rd] (PR#12770) format() under Windows giv wrong resuts with

2008-09-10 Thread ripley
On Wed, 10 Sep 2008, [EMAIL PROTECTED] wrote: > On Windows XP SP3 > >> format(pippo, format="%I:%M:%S %p") > [1] "11:43:12 PM" > > In any case, if there is a problem it is in Windows, not in R, since this > is an Windows service that is being called. So there is no evidence at > all of any bug in

Re: [Rd] (PR#12770) format() under Windows giv wrong resuts with

2008-09-10 Thread Bill Dunlap
I can reproduce the problem on Windows XP service pack 3 with R 2.8.0-dev if I set the locale to "italian" (by default it is English_United States" for me): > pippo=strptime("23:43:12", format="%H:%M:%S") > format(pippo, format="%I:%M:%S %p") [1] "11:43:12 PM" > Sys.setlocale(loc="itali

Re: [Rd] (PR#12770) format() under Windows giv wrong resuts w

2008-09-10 Thread Bill Dunlap
On Wed, 10 Sep 2008, Bill Dunlap wrote: > I can reproduce the problem on Windows XP service pack 3 > with R 2.8.0-dev if I set the locale to "italian" (by default > it is English_United States" for me): >> pippo=strptime("23:43:12", format="%H:%M:%S") >> format(pippo, format="%I:%M:%S %p")