octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can someone check matlab output of the attached code? (was updated datev


From: Nicholas Jankowski
Subject: can someone check matlab output of the attached code? (was updated datevec.m...)
Date: Mon, 12 Oct 2015 13:12:03 -0400

On Sun, Oct 11, 2015 at 10:32 PM, Nicholas Jankowski <address@hidden> wrote:
Could use someone with matlab access to do a compatibility check on the tests/output for corrected version of datevec.m I attached to the bug report.

Function was failing when format combined .FFF and AM/PM.  currently passes all tests, but don't have access to verify ML compatibility at the moment.

https://savannah.gnu.org/bugs/index.php?46171


Nick J.


the following commands should run in Matlab. Could someone with access please post back the output?  I'll use that to verify that I didn't break compatibility with my bugfix. Thanks in advance.

Nick J.

--------------------
%% Test millisecond format FFF
test1 = datevec ('15:38:21.2', 'HH:MM:SS.FFF')
test2 = datevec ('15:38:21.25', 'HH:MM:SS.FFF')
test3 = datevec ('15:38:21.251', 'HH:MM:SS.FFF')

%% Test millisecond format FFF with AM/PM, and 1,2, or 3 FFF digits
test4 = datevec ('06/01/2015 3:07:12.102 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test5 = datevec ('06/01/2015 11:07:12.102 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test6 = datevec ('06/01/2015 3:07:12.102 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test7 = datevec ('06/01/2015 11:07:12.102 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test8 = datevec ('06/01/2015 3:07:12.1 PM','mm/dd/yyyy HH:MM:SS.FFF PM')
test9 = datevec ('06/01/2015 3:07:12.12 AM','mm/dd/yyyy HH:MM:SS.FFF PM')
test10 = datevec ('06/01/2015 3:07:12.12 PM','mm/dd/yyyy HH:MM:SS.FFF PM')

------------------------------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]