Subject: | Add "date" exampe to synopsis (minor doc impovement) |
Attached patch adds a "date" entry to synopsis, to make it clear(er)
that date fields should be specified as such, and not as datetime.
Subject: | date_synopsis.patch |
--- DateTime.pm.trunk
+++ DateTime.pm
@@ -18,6 +18,7 @@
__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
__PACKAGE__->add_columns(
starts_when => { data_type => 'datetime' }
+ create_date => { data_type => 'date' }
);
NOTE: You B<must> load C<InflateColumn::DateTime> B<before> C<Core>. See