AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite
http://alexdenisov.github.com/iActiveRecord/
MIT License
354 stars 50 forks source link

Fix issue on date format storage (From float to double) #82

Closed claudot closed 10 years ago

claudot commented 10 years ago

Fixed issue on date storage. NSTimestamp is a double, so if you cast it into float, you are loosing some precision resulting 50 seconds between before storage and after.

claudot commented 10 years ago

Done !

AlexDenisov commented 10 years ago

Could you, please, squash commits? ;)

claudot commented 10 years ago

Is it OK? I have never done this before...

AlexDenisov commented 10 years ago

@claudot, take a look at this blog-post: http://robots.thoughtbot.com/git-interactive-rebase-squash-amend-rewriting-history It has some useful tips, which might be helpful.

claudot commented 10 years ago

It's ok, I think :)

AlexDenisov commented 10 years ago

Great, thank you for contributing, @claudot!