Skip to main content
Question

Formatting of FileProperties DateTime


Forum|alt.badge.img

Hi,

I've got a formatting problem with dateTime that comes with the FileProperty-Reader (as part of Workspace-Reader). The dateTime is not formatted like YYYYMMDDHHMMSS as expected.

If month, days, hours, minutes or seconds are just one digit, there is no leading zero. So it displays something like '20171127135' which could be 12th of January 7:13 am and 5 seconds or maybe 27th of November?

I'm using 2016.1 and can't check this on later versions so far. Are there ways to get this issue handled or is it an early version bug?

Thanks in advance,

Maik

2 replies

takashi
Evangelist
  • November 15, 2017

Hi @maikhertel, I was able to reproduce the same symptom with FME 2016.1.3.2 and FME 2017.0. It's a terrible bug. We cannot extract correct datetimes from the values anyway.

In the latest release version FME 2017.1.1.1, it seems to have been fixed already. If the datetime values are critical for your project, consider upgrading FME to the latest version.


Forum|alt.badge.img
  • Author
  • November 15, 2017

Thank you @takashi for that quick answer and tests, so I will wait for 2017.1 to be installed...


Reply


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