We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c9f8e commit 6b373dfCopy full SHA for 6b373df
1 file changed
src/plugins/rethinkdns/main.js
@@ -481,11 +481,12 @@ async function renew(baseurl) {
481
}
482
483
/**
484
+ * Returns true if the timestamp is older than wk weeks, per Date.now()
485
* @param {int} tsms (in unix millis)
486
* @param {int} wk (in weeks > 0)
487
* @returns {bool}
488
*/
-function isPast(tsms, wk) {
489
+export function isPast(tsms, wk) {
490
if (tsms <= 0 || wk <= 0) {
491
log.w("isPast: bad args ts/wk", tsms, wk);
492
return false;
0 commit comments