Fix bug 64228

This commit is contained in:
Svetlana Kulikova
2023-09-25 16:41:19 +03:00
parent 4b82619fdc
commit ae860dfd97

View File

@ -470,7 +470,7 @@ if (info.dictLookup(sName, &obj1)->isString())\
{\
std::wstring sDate = sNoDate.substr(2, 4) + L'-' + sNoDate.substr(6, 2) + L'-' + sNoDate.substr(8, 2) + L'T' +\
sNoDate.substr(10, 2) + L':' + sNoDate.substr(12, 2) + L':' + sNoDate.substr(14, 2);\
if (sNoDate.length() > 21)\
if (sNoDate.length() > 21 && (sNoDate[16] == L'+' || sNoDate[16] == L'-'))\
sDate += (L".000" + sNoDate.substr(16, 3) + L':' + sNoDate.substr(20, 2));\
else\
sDate += L"Z";\