diff --git a/bin/weewx/__init__.py b/bin/weewx/__init__.py index 823142f7..83140027 100644 --- a/bin/weewx/__init__.py +++ b/bin/weewx/__init__.py @@ -12,7 +12,7 @@ """ import time -__version__="2.3.1" +__version__="2.3.2" # Holds the program launch time in unix epoch seconds: # Useful for calculating 'uptime.' diff --git a/bin/weewx/stats.py b/bin/weewx/stats.py index a601426d..ae98a0ad 100644 --- a/bin/weewx/stats.py +++ b/bin/weewx/stats.py @@ -346,11 +346,8 @@ class StatsDb(object): else: target_val = None - # Make sure the start time is the start-of-day, so the first day is not missed: - first_day = weeutil.weeutil.archiveDaySpan(timespan.start) - # This dictionary is used for interpolating the SQL statement. - interDict = {'start' : first_day.start, + interDict = {'start' : weeutil.weeutil.startOfDay(timespan.start), 'stop' : timespan.stop, 'stats_type' : stats_type, 'aggregateType' : aggregateType, diff --git a/docs/changes.txt b/docs/changes.txt index 5a1cd9c1..d913083c 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,7 +1,7 @@ weewx change history -------------------- -X.Y.0 06/XX/13 +2.3.2 06/16/13 Added support for the temperature-only sensor THWR800. Thanks to user fstuyk! @@ -20,8 +20,8 @@ the report engine no longer crashes. If you live at a high latitude and the sun never sets, the Almanac now does the right thing. -Fixed bug that causes the first day in the stats database not to be included -in calculations of all-time stats. +Fixed bug that caused the first day in the stats database to be left out +of calculations of all-time stats. 2.3.1 04/15/13 diff --git a/docs/customizing.htm b/docs/customizing.htm index 5d7472a5..ef957aa8 100644 --- a/docs/customizing.htm +++ b/docs/customizing.htm @@ -21,7 +21,7 @@

Customizing weewx
- Version: 2.3.1 + Version: 2.3.2

Table of Contents

diff --git a/docs/upgrading.htm b/docs/upgrading.htm index 6661d3e0..edb44a82 100644 --- a/docs/upgrading.htm +++ b/docs/upgrading.htm @@ -19,7 +19,7 @@

Upgrading weewx
-Version: 2.3.1 +Version: 2.3.2

diff --git a/docs/usersguide.htm b/docs/usersguide.htm index d065e58e..1aec064f 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -32,7 +32,7 @@ function showtab(tab,id) {

User's Guide to the weewx Weather System
-Version: 2.3.1 +Version: 2.3.2

diff --git a/weewx.conf b/weewx.conf index 50bb166c..9aa66656 100644 --- a/weewx.conf +++ b/weewx.conf @@ -29,7 +29,7 @@ WEEWX_ROOT = /home/weewx socket_timeout = 20 # Do not modify this - it is used by setup.py when installing and updating. -version = 2.3.1 +version = 2.3.2 ##############################################################################