[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New failing tests for datestr (locale problem)
From: |
Julien Bect |
Subject: |
New failing tests for datestr (locale problem) |
Date: |
Mon, 04 Nov 2013 10:52:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Dear maintainers,
Since recently, I see lots of failing tests (15 I think) related to datestr.
Here are two of them :
!!!!! test failed
ASSERT errors for: assert (datestr (testtime, 28),"Dec2005")
Location | Observed | Expected | Reason
[] déc.2005 Dec2005 Strings don't match
shared variables scalar structure containing the fields:
testtime =
2.0050e+03 1.2000e+01 1.8000e+01 2.0000e+00 3.3000e+01
1.7382e+01
***** assert (datestr (testtime+[0 0 3 0 0 0], "dddd"), "Wednesday")
!!!!! test failed
ASSERT errors for: assert (datestr (testtime + [0, 0, 3, 0, 0, 0],
"dddd"),"Wednesday")
Location | Observed | Expected | Reason
[] mercredi Wednesday Strings don't match
shared variables scalar structure containing the fields:
testtime =
2.0050e+03 1.2000e+01 1.8000e+01 2.0000e+00 3.3000e+01
1.7382e+01
***** assert (datestr ([1944, 6, 6, 6, 30, 0], 0), "06-Jun-1944
06:30:00")
I can make them disappear by changing LC_ALL before running Octave, but
is this really what I'm expected to do ?
This behaviour is new on my computer, and I don't think I saw any
discussion on this list of this being an intentional change, but perhaps
I missed something.
@++
Julien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- New failing tests for datestr (locale problem),
Julien Bect <=