Permalink
Browse files

Fixed date offset used for restricting to a users timezone

  • Loading branch information...
1 parent 6181632 commit c37690767344b35ff4db93cfe754b284d2f5e349 @tvroom tvroom committed Apr 27, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/FireHose/FireHose.pm
View
2 plugins/FireHose/FireHose.pm
@@ -462,7 +462,7 @@ sub getFireHoseEssentials {
# XXX Update to support timezones eventually
my $dur_q = $self->sqlQuote($options->{duration});
- my $st_q = $self->sqlQuote(timeCalc($options->{startdate},"%Y-%m-%d %T"));
+ my $st_q = $self->sqlQuote(timeCalc($options->{startdate},"%Y-%m-%d %T", -$user->{off_set}));
if ($options->{startdate}) {
push @where, "createtime >= $st_q";

0 comments on commit c376907

Please sign in to comment.