I'm trying to load a datetime field with the following format.
2013-02-05T10:09:38-08:00
- property: event_time
external_name: datetime
import_transform: transform.import_date_time('%Y-%m-%dT%H:%M:%S%z')
However, the transformer does not accept the %z directive. According to the Python docs, this directive is platform dependent. Apparently, App Engine doesn't support it. Here's the error I get on the bulkloader,
ValueError: 'z' is a bad directive in format '%Y-%m-%dT%H:%M:%S%z'
This issue seems to be well established in the context of datetime parsing and there are workarounds. But what to do with the bulkloader? I don't have the same flexibility as other Python solutions.