You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.
After a little more debugging i found out that the toColumnType method of the NSDateColumn directly returns the value that was passed to the method. I think it should return an NSDate object made out of the nsnumber-object passed.
The text was updated successfully, but these errors were encountered:
jklimke
added a commit
to jklimke/iActiveRecord
that referenced
this issue
Dec 10, 2013
* master:
Update .travis.yml
Update README.md
Update .travis.yml
AlexDenisov#64 changed toColumnType of the NSDateColumn to return NSDate instances instead of NSNumber values with the time interval
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
i noticed when i tried to work with the updatedAt and other date fields, that the values returned from NSDate* getters are in fact of type NSCFNumber*
here is an excerpt of a xcode debugger session. the field lastUpdate is a NSDate* property.
self PNOfferUpdater * 0xc080480 0x0c080480
NSObject NSObject
_delegate PNOfferListViewController * 0xc07e580 0x0c07e580
_groups NSArray * nil 0x00000000
_groupOffers __NSDictionaryM * 0 key/value pairs 0x0c085220
_updateInterval NSTimeInterval 0 0
lastUpdate __NSCFNumber * (double)1.38669e+09 0x0c0815b0
updateRun PNOfferUpdate * 0xc07f160 0x0c07f160
ActiveRecord ActiveRecord
After a little more debugging i found out that the toColumnType method of the NSDateColumn directly returns the value that was passed to the method. I think it should return an NSDate object made out of the nsnumber-object passed.
The text was updated successfully, but these errors were encountered: