<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Date being passed differently then format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-being-passed-differently-then-format/m-p/2293268#M66260</link>
    <description>I am reading in a file and setting a date field to Date with a format of MM/dd/yyyy and then using the tMap component I am mapping to my schema as a Date with the format yyyy-MM-dd. &amp;nbsp;I am then passing this transformed data through tLog and into a tRestClient component. &amp;nbsp;When the tRestClient component goes to POST the data it is changing the format and causing an error. &amp;nbsp;Why is Talend changing the data on POST and how do I keep and enforce the yyyy-MM-dd format?
&lt;BR /&gt;Here is the tLog and tRestClient outputs.
&lt;BR /&gt; connecting to socket on port 4058
&lt;BR /&gt; connected
&lt;BR /&gt;AG1177004|DEA|MedAssests|Georgia Baptist Medical Center|300 Blvd NE||Atlanta|GA|30311|Clinic|1997-09-05|||Clinic
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
&lt;BR /&gt;---------------------------
&lt;BR /&gt;ID: 1
&lt;BR /&gt;Address: 
&lt;BR /&gt;Http-Method: POST
&lt;BR /&gt;Content-Type: application/x-www-form-urlencoded
&lt;BR /&gt;Headers: {Content-Type=, Accept=, =[]}
&lt;BR /&gt;Payload: gid=AG1177004&amp;amp;gid_type=EA&amp;amp;gpo=MedAssests&amp;amp;name=Georgia+Baptist+Medical+Center&amp;amp;address1=300+Blvd+NE&amp;amp;address2=+&amp;amp;city=Atlanta&amp;amp;state=GA&amp;amp;zip=30311&amp;amp;gpo_cot=Clinic&amp;amp;cis_cot=+&amp;amp;start_dt=Fri+Sep+05+00%3A00%3A00+EDT+1997&amp;amp;end_dt=1900-01-01
&lt;BR /&gt;--------------------------------------
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
&lt;BR /&gt;----------------------------
&lt;BR /&gt;ID: 1
&lt;BR /&gt;Response-Code: 400
&lt;BR /&gt;Encoding: ISO-8859-1
&lt;BR /&gt;Content-Type: application/json
&lt;BR /&gt;Headers: {connection=, Content-Length=, content-type=, Date=, Server=}
&lt;BR /&gt;Payload: {
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "message": {
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "start_dt": "time data 'Fri Sep 05 00:00:00 EDT 1997' does not match format '%Y-%m-%d'"
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }
&lt;BR /&gt;}
&lt;BR /&gt;--------------------------------------</description>
    <pubDate>Sat, 16 Nov 2024 11:10:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:10:51Z</dc:date>
    <item>
      <title>Date being passed differently then format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-being-passed-differently-then-format/m-p/2293268#M66260</link>
      <description>I am reading in a file and setting a date field to Date with a format of MM/dd/yyyy and then using the tMap component I am mapping to my schema as a Date with the format yyyy-MM-dd. &amp;nbsp;I am then passing this transformed data through tLog and into a tRestClient component. &amp;nbsp;When the tRestClient component goes to POST the data it is changing the format and causing an error. &amp;nbsp;Why is Talend changing the data on POST and how do I keep and enforce the yyyy-MM-dd format?
&lt;BR /&gt;Here is the tLog and tRestClient outputs.
&lt;BR /&gt; connecting to socket on port 4058
&lt;BR /&gt; connected
&lt;BR /&gt;AG1177004|DEA|MedAssests|Georgia Baptist Medical Center|300 Blvd NE||Atlanta|GA|30311|Clinic|1997-09-05|||Clinic
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
&lt;BR /&gt;---------------------------
&lt;BR /&gt;ID: 1
&lt;BR /&gt;Address: 
&lt;BR /&gt;Http-Method: POST
&lt;BR /&gt;Content-Type: application/x-www-form-urlencoded
&lt;BR /&gt;Headers: {Content-Type=, Accept=, =[]}
&lt;BR /&gt;Payload: gid=AG1177004&amp;amp;gid_type=EA&amp;amp;gpo=MedAssests&amp;amp;name=Georgia+Baptist+Medical+Center&amp;amp;address1=300+Blvd+NE&amp;amp;address2=+&amp;amp;city=Atlanta&amp;amp;state=GA&amp;amp;zip=30311&amp;amp;gpo_cot=Clinic&amp;amp;cis_cot=+&amp;amp;start_dt=Fri+Sep+05+00%3A00%3A00+EDT+1997&amp;amp;end_dt=1900-01-01
&lt;BR /&gt;--------------------------------------
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
&lt;BR /&gt;----------------------------
&lt;BR /&gt;ID: 1
&lt;BR /&gt;Response-Code: 400
&lt;BR /&gt;Encoding: ISO-8859-1
&lt;BR /&gt;Content-Type: application/json
&lt;BR /&gt;Headers: {connection=, Content-Length=, content-type=, Date=, Server=}
&lt;BR /&gt;Payload: {
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "message": {
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "start_dt": "time data 'Fri Sep 05 00:00:00 EDT 1997' does not match format '%Y-%m-%d'"
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }
&lt;BR /&gt;}
&lt;BR /&gt;--------------------------------------</description>
      <pubDate>Sat, 16 Nov 2024 11:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-being-passed-differently-then-format/m-p/2293268#M66260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date being passed differently then format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-being-passed-differently-then-format/m-p/2293269#M66261</link>
      <description>Hi &lt;A href="https://www.talendforge.org/forum/profile.php?id=299879" target="_blank" rel="nofollow noopener noreferrer"&gt;briggleman&lt;/A&gt;,&lt;BR /&gt;Could you please show us your current job design screenshots? &lt;BR /&gt;On which official version did you get that ?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 24 Jun 2015 11:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-being-passed-differently-then-format/m-p/2293269#M66261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T11:03:30Z</dc:date>
    </item>
  </channel>
</rss>

