Commit a11c5e4f authored by Vincent Pelletier's avatar Vincent Pelletier

When rescaling, also rescale extremums.

Otherwise getNextPeriod will fail if earliest_date is in a different
format.
And one more minor release !
parent ead8cb6a
......@@ -1365,6 +1365,8 @@ def main():
old_date_format = date_format
asDate, decimator, graph_period, date_format, placeholder_delta, \
round_date, graph_coefficient = period_parser[period]
latest_date = rescale(latest_date)
earliest_date = rescale(earliest_date)
period_increase_start = time.time()
for site_data in per_site.itervalues():
site_data.rescale(rescale, getDuration)
......
......@@ -51,7 +51,7 @@ description = open('README').read()
setup(
name='APacheDEX',
version='1.3.1',
version='1.3.2',
description=(x for x in description.splitlines() if x.strip()).next(),
long_description=".. contents::\n\n" + description,
author='Vincent Pelletier',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment