Re: DIH Date conversion from a source column skews time

2009-04-03 Thread Wesley Small
Okay, I will give that a try. I could resolve this any other day by being able to execute the same XPATH retrieval twice. Why does the following not work: field column=first_date_d xpath=/add/doc/fie...@name='original_air_date_d'] / field column=second_date_s

Re: DIH Date conversion from a source column skews time

2009-04-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
I same XPATH does not work . but what is stopping you from copying one field to another using a Template field column=first_date_d xpath=/add/doc/fie...@name='original_air_date_d'] / field column=second_date_s template=${entityname.first_date_d} / On Fri, Apr 3, 2009 at 8:39 PM, Wesley

DIH Date conversion from a source column skews time

2009-04-01 Thread Wesley Small
I have noticed that setting a dynamic date field from source column changes the time within the date. Can anyone confirm this? For example, the document I import has the following xml field. field name=original_air_date_d2002-12-18T00:00:00Z/field In my data-inport-config file I define the

Re: DIH Date conversion from a source column skews time

2009-04-01 Thread Wesley Small
Was there any follow up to this issue I found? Is this a legitimate bug with the time of day changing? I could try to solve this by executing same xpath statement twice. field column=original_air_date_d xpath=/add/doc/fie...@name='original_air_date_d'] / field column=temp_original_air_date_s

Re: DIH Date conversion from a source column skews time

2009-04-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess dateFormat does the job properly but the returned value is changed according to timezone. can y try this out add an extra field which converts the date to toString() field column=original_air_date_d_str template=${entityname.original_air_date_d}/ this would add an extra field as string