Skip to main content
Solved

DateTimeConverter doesn't rewrite field

  • September 8, 2022
  • 3 replies
  • 67 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

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

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.