R-ArcGIS / r-bridge

Bridge library to connect ArcGIS and R, including arcgisbinding R library.
Apache License 2.0
117 stars 26 forks source link

Support Date class objects #20

Open scw opened 6 years ago

scw commented 6 years ago

If passed a Date object, it won't undergo conversion and end up as a raw integer VT_DATE. Issue reported on GeoNet

ghost commented 6 years ago

I've noticed that either arc.open or arc.select is converting my date field to a datetime. I'm fine with this, but it's also converting it to GMT by subtracting 5 hours. Is there a way to prevent this behavior so that I don't have to use a dplyr mutate command to correct all of my date fields in all layers that I import?