Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the Unit Tests per Don Creaven's input:
Running ^DMUDT000 in dev reports: Internal Format to External Format - DD^%DT - <1705> vs <-1> - 5 (invalid value) converted to a unknown date. The test is dev>s Y=5 D DD^%DT W Y 1705 I think that is the right answer: DD^%DT takes any sort of partial input. --- Another unit test failure that I think is not an error: NOW^DMUDTC00 - Tests NOW^%DTC - <313> vs <2013> - Year incorrect This is testing the value returned in %I(3), like this: dev>D NOW^%DTC dev>W % 3130221.102141 dev>W %H 62874,37301 dev>F I=1:1:3 W %I(I)_" " 2 21 313 dev>W X 3130221 dev> The value 313 is FM’s year. The test expects the calendar year. But I think the FM year is the correct return value. You could argue that the documentation is ambiguous. In any case, can we validate that 313 is correct and (if so) fix the unit test to not report an error.
- Loading branch information