fix getNativeDateTime with custom timezones
closes #841
changelog for f49997064533f1af23b6f5f1dd48d8696663c3d6
merge [3319:3321/branches/0.11]