Skip to main content

Hello,

I created a workflow that takes several FGDBs into a directory and dynamically exports them as Geojson files with their jsonschema, and it works well. But ...

The result for attributes with a type "date" is something like "20180205152004" (which is, I suppose, the string in the FGDBs files)

What I want is a rfc3339 format like "2018-02-05T15:20:04".

As my files do not have the same structure, I would like to be able to detect any attribute of type "date", to modify it so that it respects the standard rfc3339.

Of course, if I could know what are the good attributes I could use the DateTimeConverter!

All my efforts remained vain.

Does anyone have an idea?

Maybe AttributeValidator would be useful. If it fails, you use DateTimeConverter.


Reply