On 2018-07-31 12:05:58, ETHER wrote:
Show quoted text> DBIx::Class::InflateColumn::DateTime supports the format 'timestamp
> with time zone'. This module should be able to as well -- I did some
> testing, and Time::Moment->from_string($timestamptz, lenient => 1)
> does handle this format.
>
> It looks like just a few lines need to be added into the checks in
> register_column.
Specifically, line 42 needs to change from:
- return unless ( ( $data_type eq 'datetime' ) or ( $data_type eq 'timestamp' ) or ( $data_type eq 'date' ) );
to:
+ return unless ( ( $data_type eq 'datetime' ) or ( $data_type eq 'timestamp' ) or ( $data_type eq 'date' ) or ( $data_type eq 'timestamp with time zone' ) );
Is there a git repository somewhere, where I can submit a patch?