[gnome-shell/eos3.8: 235/255] payg: Fix a couple comments
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 235/255] payg: Fix a couple comments
- Date: Wed, 10 Jun 2020 19:17:46 +0000 (UTC)
commit eac6b4c3a47dbf69ead0b8f0b25a63b1d9712f2d
Author: Matthew Leeds <matthew leeds endlessm com>
Date: Fri Apr 24 11:57:46 2020 -0700
payg: Fix a couple comments
(cherry picked from commit 78ad3d114657d04f879ff3dd7038c5aef7a8987b)
js/ui/payg.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/payg.js b/js/ui/payg.js
index 6e973a0d27..ca49bd575a 100644
--- a/js/ui/payg.js
+++ b/js/ui/payg.js
@@ -581,7 +581,7 @@ var ApplyCodeNotification = GObject.registerClass({
}
});
-// Takes an UNIX timestamp (in seconds) and returns a string
+// Takes a number of seconds and returns a string
// with a precision level appropriate to show to the user.
//
// The returned string will be formatted just in seconds for times
@@ -632,7 +632,7 @@ function timeToString(seconds) {
return '%s %s'.format(daysStr, hoursStr);
}
-// Similar to timeToStrings, but does not process partial time,
+// Similar to timeToString, but does not process partial time,
// since it's meant to be used for expiration time changes, with
// a wider range of periods
function successMessage() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]