In a project with Talend Open Studio (an ETL tool that generates open source code), I get errors parsing incoming date strings like "3/14/1967 0:00:00" (note the one-month month).
Digging into the code , I see this uses java.text.SimpleDateFormat . So the date template string I expect I need to use is "dM-yyyy H: mm: ss" ... but it continues to give me errors like "Unmatched date: 3/14/1967 0: 00:00 ".
I guess SimpleDateFormat might be dealing with a one or two digit problem. Do I need a different date template? (Of course, I could do the preprocessing to adjust the values ββbefore Java tries to read the lines as Dates, but this is not necessary!)
ewall source share