Skip to main content
Solved

DateTimeConverter doesn't rewrite field

  • September 8, 2022
  • 3 replies
  • 50 views

albinepro
Supporter
Forum|alt.badge.img+7

I'm trying to convert datetime values in ISO format to FME, because PostgreSQL database refuses to write that value as "timestampz". I have tried to both autodect and %Y-%m-%dT%H:%M:%S$

The preview show correctly the conversion:

obrazekBut the ouptup stays the same:

obrazekAny hints? Thanks

Best answer by caracadrian

Something is wrong with your picture.

For me, DateTimeConverter displays selected attributes differently:

datetimeconverter windowTry selecting them via the three dots menu and see if getting rid of the @Value part does the job.

If not, turn Repair Overflow on.

View original
Did this help you find an answer to your question?

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

That's really odd, I tried it with the exact same date as you have and it works for me.

Could you post a new screenshot of the table view but drag the column a bit wider so we can see the entire value?


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • September 8, 2022

Something is wrong with your picture.

For me, DateTimeConverter displays selected attributes differently:

datetimeconverter windowTry selecting them via the three dots menu and see if getting rid of the @Value part does the job.

If not, turn Repair Overflow on.


albinepro
Supporter
Forum|alt.badge.img+7
  • Author
  • Supporter
  • September 8, 2022
caracadrian wrote:

Something is wrong with your picture.

For me, DateTimeConverter displays selected attributes differently:

datetimeconverter windowTry selecting them via the three dots menu and see if getting rid of the @Value part does the job.

If not, turn Repair Overflow on.

You are right, thanks. I haven't noticed it's an attribute value. I don't know why it was listed in the items list at the top, so I haven't seen the actual attribute picker. Now it works as expected. In order to fill Posgres timestampz I had to add timezone with expression 

@TimeZoneSet(@Value(PlatiOd),+01:00,auto)

as explained in this article.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings