2008年5月9日金曜日
DatePropertyにはやはり不具合(bug)あり
date = db.DateTimeProperty(auto_now_add=True) の値が
対象の datastore のデータを更新する度に、時刻が進んでいってしまう現象は
以下の Patch により直った。 ( SDK 1.0.1)
DateProperty does not work properly in dev environment
http://code.google.com/p/googleappengine/issues/detail?id=131
c:/Program Files/Google/google_appengine/google/appengine/api/datastore_types.py
I tried a patch to module datastore_types.py, which seems to work:
change line 1033
from
lambda val: datetime.datetime.fromtimestamp(float(val) / 1000000.0),
to
lambda val: datetime.datetime.utcfromtimestamp(float(val) / 1000000.0),
Per the Python doc, fromtimestamp() converts to the local timezone.
Unityでドアの開閉はAnimatorそれともiTween?
Mac Mini M2 の Unity で Sketchup のデータを復元したつづき。 以前、苦労して作成したドアの開閉が動作しないので修復する。 どうやって動かしていたのか、また忘れそうなので記録しておく。 Animator 左右のドア PlaneL,...
-
1. get_or_insert 自体がトランザクションなのでこれを含めたトランザクションを 作成しようとするとエラーとなる。 File "C:\Program Files\Google\google_appengine\google\appengine\api\...
-
JDeveloper から Forms builder, Report, Designer まで全部インストールされた 早速 XE をターゲットに Forms を動かしてみた。 C/S モードでの実行はできなくなっている様子。 C:\DevSuiteHome_1\j2ee\Dev...
-
Mac Mini M2 の Unity で Sketchup のデータを復元したつづき。 以前、苦労して作成したドアの開閉が動作しないので修復する。 どうやって動かしていたのか、また忘れそうなので記録しておく。 Animator 左右のドア PlaneL,...