Allow range to be specified using dates.

e.g. range={2008-08-25}:{2008-08-26}

Review URL: https://codereview.chromium.org/251013003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/perf@270306 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/dashboard/svn-log b/dashboard/svn-log
index 1f0ed13..be0f70b 100644
--- a/dashboard/svn-log
+++ b/dashboard/svn-log
@@ -15,7 +15,10 @@
       not (options['url'].startswith('http://src.chromium.org/svn/') or
            options['url'].startswith('http://webrtc.googlecode.com/svn/') or
            options['url'].startswith('http://v8.googlecode.com/svn/')) or
-      not re.match(r'^(\d+):(\d+)$', options['range'])):
+      not (re.match(r'^(\d+):(\d+)$', options['range']) or
+           re.match(r'^{(\d{4}-(1[0-2]|0?[1-9])-(3[01]|[12][0-9]|0?[1-9]))}'
+                     ':{(\d{4}-(1[0-2]|0?[1-9])-(3[01]|[12][0-9]|0?[1-9]))}$',
+                    options['range']))):
     print 'Content-Type: text/html'
     print ''
     print ''