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?46171Nick 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')
------------------------------