rethinkdb クラスターから取得した行には、タイムゾーン付きの日付オブジェクトが含まれています。以下にその例を示します。
ipython> dt
datetime.datetime(2015, 12, 18, 0, 22, 4, 644000, tzinfo=<rethinkdb.ast.RqlTzinfo object at 0x7f072c5d6250>)
それらを特定の形式に文字列化しようとしています:
dt.strftime("%d-%m-%Y %H:%M:%S (%Z)")
そしてそれはにつながる
*** TypeError: tzinfo.tzname() must return None or a string, not 'unicode'
どうすればこれを克服できますか?