From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Sprang Subject: [PATCH] download: Only show hours in the elapsed time if necessary. Date: Wed, 16 Sep 2015 20:50:52 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a113d7c2055f812051fe9528e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcQDm-00014H-TZ for guix-devel@gnu.org; Wed, 16 Sep 2015 23:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcQDl-00014G-Ox for guix-devel@gnu.org; Wed, 16 Sep 2015 23:50:54 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:35583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcQDl-00013q-Hf for guix-devel@gnu.org; Wed, 16 Sep 2015 23:50:53 -0400 Received: by oiww128 with SMTP id w128so3307601oiw.2 for ; Wed, 16 Sep 2015 20:50:52 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --001a113d7c2055f812051fe9528e Content-Type: multipart/alternative; boundary=001a113d7c2055f806051fe9528c --001a113d7c2055f806051fe9528c Content-Type: text/plain; charset=UTF-8 Drop hours from the elapsed time (unless necessary) since most downloads will be much faster than that. -Steve --001a113d7c2055f806051fe9528c Content-Type: text/html; charset=UTF-8
Drop hours from the elapsed time (unless necessary) since most downloads will be much faster than that.

-Steve
--001a113d7c2055f806051fe9528c-- --001a113d7c2055f812051fe9528e Content-Type: text/x-patch; charset=US-ASCII; name="timestamp.patch" Content-Disposition: attachment; filename="timestamp.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ienof4o50 R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VRJT04gaW4gc2Vjb25kcywgcmV0dXJuIGEgc3RyaW5nIHJlcHJlc2VudGluZyBpdCBpbiAnbW06 c3MnIG9yCisnaGg6bW06c3MnIGZvcm1hdCwgYXMgbmVlZGVkLiIKICAgKGlmIChub3QgKG51bWJl cj8gZHVyYXRpb24pKQotICAgICAgIjAwOjAwOjAwIgorICAgICAgIjAwOjAwIgogICAgICAgKGxl dCogKCh0b3RhbC1zZWNvbmRzIChuZWFyZXN0LWV4YWN0LWludGVnZXIgZHVyYXRpb24pKQogICAg ICAgICAgICAgIChleHRyYS1zZWNvbmRzIChtb2R1bG8gdG90YWwtc2Vjb25kcyAzNjAwKSkKLSAg ICAgICAgICAgICAoaG91cnMgICAgICAgICAocXVvdGllbnQgdG90YWwtc2Vjb25kcyAzNjAwKSkK KyAgICAgICAgICAgICAobnVtLWhvdXJzICAgICAocXVvdGllbnQgdG90YWwtc2Vjb25kcyAzNjAw KSkKKyAgICAgICAgICAgICAoaG91cnMgICAgICAgICAoYW5kIChwb3NpdGl2ZT8gbnVtLWhvdXJz KSBudW0taG91cnMpKQogICAgICAgICAgICAgIChtaW5zICAgICAgICAgIChxdW90aWVudCBleHRy YS1zZWNvbmRzIDYwKSkKICAgICAgICAgICAgICAoc2VjcyAgICAgICAgICAobW9kdWxvIGV4dHJh LXNlY29uZHMgNjApKSkKLSAgICAgICAgKGZvcm1hdCAjZiAifjIsJzBkOn4yLCcwZDp+MiwnMGQi IGhvdXJzIG1pbnMgc2VjcykpKSkKKyAgICAgICAgKGZvcm1hdCAjZiAifkBbfjIsJzBkOn5dfjIs JzBkOn4yLCcwZCIgaG91cnMgbWlucyBzZWNzKSkpKQogCiAoZGVmaW5lIChieXRlLWNvdW50LT5z dHJpbmcgc2l6ZSkKICAgIkdpdmVuIFNJWkUgaW4gYnl0ZXMsIHJldHVybiBhIHN0cmluZyByZXBy ZXNlbnRpbmcgaXQgaW4gYSBodW1hbi1yZWFkYWJsZQotLSAKMi41LjAKCg== --001a113d7c2055f812051fe9528e--