Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Happy leap day #5

rtomayko opened this Issue · 2 comments

1 participant


Only triggered when an absolute date in 2011 is used. Like from=20111201. I know this worked a few days ago.


Traceback (most recent call last):
  File "/usr/share/graphite/lib/python2.5/site-packages/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/share/graphite/webapp/graphite/render/", line 46, in renderView
    (graphOptions, requestOptions) = parseOptions(request)
  File "/usr/share/graphite/webapp/graphite/render/", line 240, in parseOptions
    fromTime = parseATTime( queryParams['from'] )
  File "/usr/share/graphite/webapp/graphite/render/", line 35, in parseATTime
    return parseTimeReference(ref) + parseTimeOffset(offset)
  File "/usr/share/graphite/webapp/graphite/render/", line 84, in parseTimeReference
    refDate = refDate.replace(year= int(ref[:4]))
ValueError: day is out of range for month

Looks like it's here:

The year is being adjusted from the current time and there's no Feb 29 in 2011.


Closing as stale.

@rtomayko rtomayko closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.