From: Emanuel Berg <moasenwood@zoho.eu>
To: ding@gnus.org
Subject: how long is a temporary down score in effect?
Date: Mon, 14 Mar 2022 20:19:25 +0100 [thread overview]
Message-ID: <87v8wg4a0y.fsf@zoho.eu> (raw)
how long is a temporary down score in effect?
In (info "(gnus) Score File Format") lines 72-77 it says:
If the third element is present it [...] says when the last
time this score entry matched, which provides a mechanism
for expiring the score entries. [...] The date is
represented by the number of days since December 31, 1 BCE.
The number that I get in the score file is 738228.
So I wrote this:
(defun days-since (year month day)
(string-to-number
(format-seconds "%d"
(float-time (time-since (encode-time 0 0 0 day month year))) )))
However
(- 738228 (days-since 0 0 0)) ; -397
which doesn't make sense (temporary ban for a negative period
of time - is it some other date?).
Why does it have to be so complicated BTW?
So how long is it?
I'd like to set the temporary down score time to _1 month_ to
begin with ... Is there really no variable (option) for that?
--
underground experts united
https://dataswamp.org/~incal
next reply other threads:[~2022-03-14 19:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 19:19 Emanuel Berg [this message]
2022-03-14 19:26 ` Emanuel Berg
2022-04-06 16:36 ` Felix Dietrich
2022-04-06 22:18 ` Emanuel Berg
2022-04-07 5:09 ` Felix Dietrich
2022-04-07 5:20 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8wg4a0y.fsf@zoho.eu \
--to=moasenwood@zoho.eu \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).