Fix datetime format in bindings