[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: datestr failures
From: |
Rik |
Subject: |
Re: datestr failures |
Date: |
Mon, 04 Nov 2013 13:32:25 -0800 |
On 11/04/2013 01:07 PM, Julien Bect wrote:
> On 04/11/2013 21:05, Rik wrote:
>> Could somebody run Matlab under a fr_FR.utf-8 locale and report whether
>>
>> --- Code ---
>> datestr ([1944, 6, 6, 6, 30, 0], 0)
>> --- End Code ---
>>
>> reports 'Jun' or 'juin'?
>
> With Matlab R2012a, I get :
>
> >> datestr ([1944, 6, 6, 6, 30, 0], 0)
>
> ans =
>
> 06-Jun-1944 06:30:00
>
>
>
Julien,
Thanks for the confirmation; I guess Matlab really does set the LC_TIME
parameter.
I changed Octave to set LC_TIME to the 'C' locale and now all tests are
passing even in the fr_FR locale
(http://hg.savannah.gnu.org/hgweb/octave/rev/e432697a0621).
Best regards,
Rik