Kaydet (Commit) c52f2780 authored tarafından Eike Rathke's avatar Eike Rathke

Add two digit year test for CDateToIso()

Change-Id: I69f067327504023a2f2439a73cdb1fc6a703aa39
üst 9632aa63
...@@ -32,6 +32,8 @@ Function doUnitTest as Integer ...@@ -32,6 +32,8 @@ Function doUnitTest as Integer
doUnitTest = 0 doUnitTest = 0
ElseIf ( CDateToIso( CDateFromIso("-00011231") ) <> "-00011231" ) Then ElseIf ( CDateToIso( CDateFromIso("-00011231") ) <> "-00011231" ) Then
doUnitTest = 0 doUnitTest = 0
ElseIf ( CDateToIso( CDateFromIso("991231") ) <> "19991231" ) Then
doUnitTest = 0
Else Else
doUnitTest = 1 doUnitTest = 1
End If End If
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment