FIXED: duplicate key error when using custom time zones (thanks to myronmarston… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 66929fa0092bb0cad378e52766637535d69465b2 | |
parent fa8af89304d38318f6a2cb4f2b01a6f7f2e6bc7d | |
Author: Marco Otte-Witte <[email protected]> | |
Date: Mon, 4 May 2009 11:59:52 +0200 | |
FIXED: duplicate key error when using custom time zones (thanks to myronmarston) | |
Diffstat: | |
M HISTORY.rdoc | 4 ++++ | |
M spec/classes/report_spec.rb | 2 +- | |
2 files changed, 5 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/HISTORY.rdoc b/HISTORY.rdoc | |
@@ -1,3 +1,7 @@ | |
+=== v1.2 | |
+ | |
+* FIXED: duplicate key error when using custom time zones (thanks to myronmars… | |
+ | |
=== v1.1 | |
* new :end_date option: if specified, only data for the reporting periods for … | |
diff --git a/spec/classes/report_spec.rb b/spec/classes/report_spec.rb | |
@@ -83,7 +83,7 @@ describe Simplabs::ReportsAsSparkline::Report do | |
it 'should not raise a SQL duplicate key error after multiple runs' … | |
@report = Simplabs::ReportsAsSparkline::Report.new(User, :registra… | |
- :limit => 2, | |
+ :limit => 2, | |
:grouping => grouping, | |
:end_date => Date.yesterday.to_datetime | |
) |