From: <vo...@us...> - 2013-03-28 12:22:32
|
Revision: 3635 http://sourceforge.net/p/moneymanagerex/code/3635 Author: vomikan Date: 2013-03-28 12:22:29 +0000 (Thu, 28 Mar 2013) Log Message: ----------- update Modified Paths: -------------- trunk/mmex/src/util.cpp Modified: trunk/mmex/src/util.cpp =================================================================== --- trunk/mmex/src/util.cpp 2013-03-27 17:47:39 UTC (rev 3634) +++ trunk/mmex/src/util.cpp 2013-03-28 12:22:29 UTC (rev 3635) @@ -508,10 +508,13 @@ sDate.Replace(wxT(","), s); sDate.Replace(wxT(" "), s); - if (sDate.Len()<9) + //Bad idea to change date mask here. + //some dates may be wrong parsed, for example: + // 1/1/2001 & 01/01/01 + /*if (sDate.Len()<9) sDateMask.Replace(wxT("%Y"), wxT("%y")); else - sDateMask.Replace(wxT("%y"), wxT("%Y")); + sDateMask.Replace(wxT("%y"), wxT("%Y"));*/ wxStringTokenizer token(sDate, s); double a,b,c; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |