Skip to content

Commit df981d8

Browse files
committed
DateTime::Format::* does not have fromat_timestamp_without_timezone method
1 parent 938e392 commit df981d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/DBIx/Class/InflateColumn/DateTime.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ sub register_column {
132132
# _ic_dt_method will follow whatever the registration requests
133133
# thus = instead of ||=
134134
if ($data_type eq 'timestamp with time zone' || $data_type eq 'timestamptz') {
135-
$info->{_ic_dt_method} = 'timestamp_with_timezone';
135+
$info->{_ic_dt_method} = 'timestamp_with_time_zone';
136136
}
137137
elsif ($data_type eq 'timestamp without time zone') {
138-
$info->{_ic_dt_method} = 'timestamp_without_timezone';
138+
$info->{_ic_dt_method} = 'timestamp_without_time_zone';
139139
}
140140
elsif ($data_type eq 'smalldatetime') {
141141
$info->{_ic_dt_method} = 'smalldatetime';

0 commit comments

Comments
 (0)