We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 403dd44 + 3414148 commit 085bb70Copy full SHA for 085bb70
oauth2-auto.el
@@ -127,8 +127,8 @@ from PLIST if non-nil. The return value is intended to be stored in plstore."
127
;; Checking token expiration
128
129
(defun oauth2-auto--now ()
130
- "Current epoch in seconds."
131
- (seconds-to-time nil 'integer))
+ "Current epoch in seconds, as an integer."
+ (truncate (float-time)))
132
133
(defun oauth2-auto--plist-needs-refreshing (plist)
134
"Return non-nil if the authentication-token in PLIST needs refreshing."
0 commit comments