datamapper / do

DataObjects
147 stars 74 forks source link

Set datestyle in postgres adapter #61

Closed arthurpsmith closed 11 years ago

arthurpsmith commented 11 years ago

I ran into an issue with postgres (actually enterprisedb) where datamapper didn't recognize the date format - forcing the datestyle to ISO is needed to fix the problem - see the attached change in do_postgres.c

arthurpsmith commented 11 years ago

Sorry, I shouldn't have included the gem versioning stuff in this - let me know if you need me to create a separate branch for the pull request...

dbussink commented 11 years ago

Is there a way to create a regression for this? Please also indeed don't include the versioning change, so if you can create a separate branch that would be great!

arthurpsmith commented 11 years ago

Looking at the specs now - will get back to you shortly thanks!