graphite-project/whisper — pull request #72 by siboulet (2014-04-17 15:07:54+00:00)
Title: Fix Whisper library improperly using current time to calculate archive

When looking for which archive to use from inside a Whisper file, the
Whisper library is improperly using the current time to find the
archive to be used. Instead the difference between untilTime and
fromTime should be used.

This issue can be reproduced by turning off caching and doing several
successive calls to the render API with a from time of -24hours. If
the system clock happens to advance the current time +1 second in the
middle of a call, the wrong archive will be used from inside the
Whisper file and different result will be returned.