From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45170 Path: main.gmane.org!not-for-mail From: Svend Tollak Munkejord Newsgroups: gmane.emacs.gnus.general Subject: ISO date in attribution line (Was: Re: The followup will show the bug.) Date: 09 Jun 2002 20:04:22 +0200 Organization: PVV Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1023645963 28583 127.0.0.1 (9 Jun 2002 18:06:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2002 18:06:03 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17H74k-0007Qr-00 for ; Sun, 09 Jun 2002 20:06:02 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17H73S-0006yi-00; Sun, 09 Jun 2002 13:04:42 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 09 Jun 2002 13:05:00 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA14403 for ; Sun, 9 Jun 2002 13:04:48 -0500 (CDT) Original-Received: (qmail 18722 invoked by alias); 9 Jun 2002 18:04:26 -0000 Original-Received: (qmail 18717 invoked from network); 9 Jun 2002 18:04:25 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 9 Jun 2002 18:04:25 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17H7Pm-00086H-00 for ; Sun, 09 Jun 2002 20:27:46 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 33 Original-NNTP-Posting-Host: bacchus.pvv.ntnu.no Original-X-Trace: quimby.gnus.org 1023647266 29547 129.241.210.178 (9 Jun 2002 18:27:46 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 9 Jun 2002 18:27:46 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45170 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45170 On Sat, 25 May 2002, Andreas Fuchs wrote: > On 2002-05-24, Kai Großjohann > wrote: ... > ,---- > | (defun anti-tc-simple-attribution () > | "Produce an attribution string, using the real name and the date > | of the message." > | (let* ((date (sc-jk-normalize-date (cdr (assoc "date" tc-strings-list)))) > | (today (sc-jk-normalize-date (current-time-string))) > | (email (assoc "email-addr" tc-strings-list)) > | (name (assoc "real-name" tc-strings-list)) > | (person (concat (cdr (or name '(nil . ""))) " <" > | (cdr (or email '(nil . "unknown-user@unknownnet"))) > | ">"))) > | ;(message "found %s <%s>" name email) > | (if (null date) > | (concat person " wrote:\n\n") > | (concat (if (equal today date) > | "Today" > | (concat "On " date)) > | ", " person " wrote:\n\n")))) > `---- I use Trivial-cite, and would like to change the date in the attribution line to ISO format, like the one you have. Is it sc-jk-normalize-date that is the clue? In that case, could you please give a hint as to how (or where) it is defined? Thanks, -- Svend Tollak Munkejord