Skip to content

Commit

Permalink
remove errant second T, stick to ISO 8601
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmer committed Jan 6, 2012
1 parent 2ae1bc4 commit f9de88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp-php/application/controllers/topcrasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function byversion($product=null, $version=null, $duration=null, $crash_t
$host = Kohana::config('webserviceclient.socorro_hostname');

$cache_in_minutes = Kohana::config('webserviceclient.topcrash_vers_rank_cache_minutes', 60);
$end_date = urlencode(date('Y-m-d\TH:i:s\T+0000', TimeUtil::roundOffByMinutes($cache_in_minutes)));
$end_date = urlencode(date('Y-m-d\TH:i:s+0000', TimeUtil::roundOffByMinutes($cache_in_minutes)));
// $dur is number of hours
$dur = $duration * 24;
$limit = Kohana::config('topcrashbysig.byversion_limit', 300);
Expand Down
2 changes: 1 addition & 1 deletion webapp-php/application/models/topcrashers.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getTopCrashersViaWebService($product, $version, $duration)
$service = new Web_Service($config);
$host = Kohana::config('webserviceclient.socorro_hostname');
$cache_in_minutes = Kohana::config('webserviceclient.topcrash_vers_rank_cache_minutes', 60);
$end_date = urlencode(date('Y-m-d\TH:i:s\T+0000', TimeUtil::roundOffByMinutes($cache_in_minutes)));
$end_date = urlencode(date('Y-m-d\TH:i:s+0000', TimeUtil::roundOffByMinutes($cache_in_minutes)));
$dur = $duration * 24;
$limit = Kohana::config('topcrashbysig.byversion_limit', 300);
$lifetime = Kohana::config('products.cache_expires');
Expand Down

0 comments on commit f9de88c

Please sign in to comment.