[Bast-commits] r9184 -
ironman/branches/mk-ii/IronMan-Schema/lib/IronMan/Schema/ResultSet
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Thu Apr 15 16:01:09 GMT 2010
Author: idn
Date: 2010-04-15 17:01:09 +0100 (Thu, 15 Apr 2010)
New Revision: 9184
Modified:
ironman/branches/mk-ii/IronMan-Schema/lib/IronMan/Schema/ResultSet/Post.pm
Log:
Removing 1 second out hack for sqlite bug
Modified: ironman/branches/mk-ii/IronMan-Schema/lib/IronMan/Schema/ResultSet/Post.pm
===================================================================
--- ironman/branches/mk-ii/IronMan-Schema/lib/IronMan/Schema/ResultSet/Post.pm 2010-04-15 15:43:19 UTC (rev 9183)
+++ ironman/branches/mk-ii/IronMan-Schema/lib/IronMan/Schema/ResultSet/Post.pm 2010-04-15 16:01:09 UTC (rev 9184)
@@ -20,7 +20,7 @@
my $day_start = $dt_day->clone()->truncate( 'to' => 'day');
- my $day_end = $day_start->clone()->add( 'days' => 1 ); # ->subtract( 'seconds' => 1 );
+ my $day_end = $day_start->clone()->add( 'days' => 1 )->subtract( 'seconds' => 1 );
return $self->posts_for_daterange($day_start, $day_end);
}
More information about the Bast-commits
mailing list