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

Side by Side Diff: appengine/chromium_status/static/js/common/date_util.js

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Represents a span of time from [endTime, startTime). 6 * Represents a span of time from [endTime, startTime).
7 * 7 *
8 * (Note that startTime is more recent than endTime). 8 * (Note that startTime is more recent than endTime).
9 * 9 *
10 * @param {int} startTime Unix timestamp in milliseconds. 10 * @param {int} startTime Unix timestamp in milliseconds.
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 /** 271 /**
272 * Helper function to add required zero characters to a string. 272 * Helper function to add required zero characters to a string.
273 **/ 273 **/
274 function zeroPad(num, width) { 274 function zeroPad(num, width) {
275 num = num.toString(); 275 num = num.toString();
276 while (num.length < width) { 276 while (num.length < width) {
277 num = "0" + num; 277 num = "0" + num;
278 } 278 }
279 return num; 279 return num;
280 } 280 }
OLDNEW
« no previous file with comments | « appengine/chromium_status/static/js/common/bind.js ('k') | appengine/chromium_status/static/js/common/debug.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698