Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / EventTZDeprecated.pm
CommitLineData
92ed0695 1package DBICTest::Schema::EventTZDeprecated;
2
3use strict;
4use warnings;
4a233f30 5
660cf1be 6use base qw/DBICTest::BaseResult/;
92ed0695 7
8__PACKAGE__->load_components(qw/InflateColumn::DateTime/);
9
10__PACKAGE__->table('event');
11
12__PACKAGE__->add_columns(
13 id => { data_type => 'integer', is_auto_increment => 1 },
14 starts_at => { data_type => 'datetime', extra => { timezone => "America/Chicago", locale => 'de_DE' } },
15 created_on => { data_type => 'timestamp', extra => { timezone => "America/Chicago", floating_tz_ok => 1 } },
16);
17
18__PACKAGE__->set_primary_key('id');
19
40f75181 20sub _datetime_parser {
21 require DateTime::Format::MySQL;
22 DateTime::Format::MySQL->new();
23}
24
25
92ed0695 261;