We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938e392 commit df981d8Copy full SHA for df981d8
lib/DBIx/Class/InflateColumn/DateTime.pm
@@ -132,10 +132,10 @@ sub register_column {
132
# _ic_dt_method will follow whatever the registration requests
133
# thus = instead of ||=
134
if ($data_type eq 'timestamp with time zone' || $data_type eq 'timestamptz') {
135
- $info->{_ic_dt_method} = 'timestamp_with_timezone';
+ $info->{_ic_dt_method} = 'timestamp_with_time_zone';
136
}
137
elsif ($data_type eq 'timestamp without time zone') {
138
- $info->{_ic_dt_method} = 'timestamp_without_timezone';
+ $info->{_ic_dt_method} = 'timestamp_without_time_zone';
139
140
elsif ($data_type eq 'smalldatetime') {
141
$info->{_ic_dt_method} = 'smalldatetime';
0 commit comments