diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-09 00:51:43 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-09 00:51:43 +0000 |
commit | 44ca403e94e748cbf1db6941aece22029c77c542 (patch) | |
tree | 6f6273a8ea5a335af89c34edc49012330d5ccd5e /Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m | |
parent | e7a80d32707951967ba59c89e3f91d43573995b4 (diff) | |
download | sequelpro-44ca403e94e748cbf1db6941aece22029c77c542.tar.gz sequelpro-44ca403e94e748cbf1db6941aece22029c77c542.tar.bz2 sequelpro-44ca403e94e748cbf1db6941aece22029c77c542.zip |
Rename some classes.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m index c60c1eb9..b28868cc 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m @@ -25,7 +25,7 @@ #import "FLXPostgresConnectionParameters.h" #import "FLXPostgresConnection.h" #import "FLXPostgresConnectionTypeHandling.h" -#import "FLXTimeTZ.h" +#import "FLXPostgresTimeTZ.h" static FLXPostgresOid FLXPostgresTypeDateTimeTypes[] = { @@ -148,7 +148,7 @@ static FLXPostgresOid FLXPostgresTypeDateTimeTypes[] = NSDate *date = [self _dateFromComponents:components]; - return hasTimeZone ? [FLXTimeTZ timeWithDate:date timeZoneGMTOffset:time.gmtoff] : date; + return hasTimeZone ? [FLXPostgresTimeTZ timeWithDate:date timeZoneGMTOffset:time.gmtoff] : date; } /** @@ -169,11 +169,11 @@ static FLXPostgresOid FLXPostgresTypeDateTimeTypes[] = PQgetf(result, row, hasTimeZone ? "%timstamptz" : "%timestamp", column, ×tamp); - FLXTimeTZ *timestampTZ = nil; + FLXPostgresTimeTZ *timestampTZ = nil; NSDate *date = [NSDate dateWithTimeIntervalSince1970:timestamp.epoch]; if (hasTimeZone) { - timestampTZ = [FLXTimeTZ timeWithDate:date timeZoneGMTOffset:timestamp.time.gmtoff]; + timestampTZ = [FLXPostgresTimeTZ timeWithDate:date timeZoneGMTOffset:timestamp.time.gmtoff]; [timestampTZ setHasDate:YES]; } |