Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2422)

Unified Diff: dashboard/svn-log

Issue 251013003: Allow range to be specified using dates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/perf/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/svn-log
===================================================================
--- dashboard/svn-log (revision 266199)
+++ dashboard/svn-log (working copy)
@@ -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]))}$',
reveman 2014/04/25 21:46:28 fyi, this is not perfect. ie. it doesn't complain
+ options['range']))):
print 'Content-Type: text/html'
print ''
print ''
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698