[Bast-commits] r9078 -
DBIx-Class/0.08/branches/rs_storage_pod_fix/lib/DBIx/Class/Storage
boghead at dev.catalyst.perl.org
boghead at dev.catalyst.perl.org
Fri Apr 2 19:31:34 GMT 2010
Author: boghead
Date: 2010-04-02 20:31:34 +0100 (Fri, 02 Apr 2010)
New Revision: 9078
Modified:
DBIx-Class/0.08/branches/rs_storage_pod_fix/lib/DBIx/Class/Storage/DBI.pm
Log:
- Fix the synopsis for DBIC::Storage::DBI. ->datetime_parser returns a class,
so you need to call a method on it in order to transform a DateTime object
Modified: DBIx-Class/0.08/branches/rs_storage_pod_fix/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/branches/rs_storage_pod_fix/lib/DBIx/Class/Storage/DBI.pm 2010-04-02 19:26:34 UTC (rev 9077)
+++ DBIx-Class/0.08/branches/rs_storage_pod_fix/lib/DBIx/Class/Storage/DBI.pm 2010-04-02 19:31:34 UTC (rev 9078)
@@ -93,7 +93,7 @@
);
$schema->resultset('Book')->search({
- written_on => $schema->storage->datetime_parser(DateTime->now)
+ written_on => $schema->storage->datetime_parser->format_datetime(DateTime->now)
});
=head1 DESCRIPTION
More information about the Bast-commits
mailing list