Introduce GOVERNANCE document and empty RESOLUTIONS file.
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / EventTZ.pm
CommitLineData
dda9af55 1package DBICTest::Schema::EventTZ;
2
3use strict;
4use warnings;
4a233f30 5
660cf1be 6use base qw/DBICTest::BaseResult/;
dda9af55 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 },
eef9b484 14 starts_at => { data_type => 'datetime', time_zone => "America/Chicago", locale => 'de_DE', datetime_undef_if_invalid => 1 },
15
16 # DO NOT change 'timezone' - there to test the legacy syntax
92ed0695 17 created_on => { data_type => 'timestamp', timezone => "America/Chicago", floating_tz_ok => 1 },
dda9af55 18);
19
20__PACKAGE__->set_primary_key('id');
21
40f75181 22sub _datetime_parser {
23 require DateTime::Format::MySQL;
24 DateTime::Format::MySQL->new();
25}
26
dda9af55 271;