fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -706,6 +706,8 @@ void DateTimeTestCase::TestTimeSpanFormat()
|
||||
{ 219, 0, 0, 0, _T("%H"), _T("219") },
|
||||
{ 219, 0, 0, 0, _T("%D, %H"), _T("9, 03") },
|
||||
{ 219, 0, 0, 0, _T("%E, %D, %H"), _T("1, 2, 03") },
|
||||
{ 0, -1, 0, 0, _T("%H:%M:%S"), _T("-00:01:00") },
|
||||
{ 0, 0, -1, 0, _T("%H:%M:%S"), _T("-00:00:01") },
|
||||
};
|
||||
|
||||
for ( size_t n = 0; n < WXSIZEOF(testSpans); n++ )
|
||||
|
Reference in New Issue
Block a user