You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hello all,
I have isolated this case to tSchemaCompliaceCheck component that I believe is rejecting some dates incorrectly.
It is rejecting 12/5/2011 with "MM/dd/yyyy" pattern.
The date is parsing correctly with SimpleDateFormat as in the following java code:
String inputStringDate = "12/5/2011";
SimpleDateFormat dSdf = new SimpleDateFormat("MM/d/yyyy");
SimpleDateFormat ddSdf = new SimpleDateFormat("MM/dd/yyyy");
Date firstDate = ddSdf.parse(inputStringDate);
Date secondDate = dSdf.parse(inputStringDate);
assertNotNull(firstDate);
assertNotNull(secondDate);
assertEquals(firstDate, secondDate);
Feel free to download entire TalendJob from here:
http://db.tt/wehtVYj8
I'm on Ubuntu 10.10 64 Bit, and I am using TOS-All-r63143-V4.2.2
Offline

Hi
Sorry that i try to download your job and get some http error.
You don't want to reject 12/5/2011, right?
Try date pattern "M/d/yyyy".
Hope this will help you.
Best regards!
Pedro
Offline
Hi
We have trouble to access your website, please upload some screennshots of job on our forum directly.
Thanks very much for your support!
Shong
Offline

I just confirmed this is an issue. I have uploaded just the job here http://dl.dropbox.com/u/50204770/abc.zip and BTW probably your problem is that the domain tt is not allowed in your country?
In any case I also have the there the original file posted by Belayev in case you want the whole project http://dl.dropbox.com/u/50204770/dateTS … roblem.zip
Offline
Pages: 1