From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Marquardt Newsgroups: gmane.emacs.help Subject: Re: diary: international date format Date: Wed, 04 Sep 2002 16:58:32 +0200 Organization: I'd rather call it chaos ... Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031151871 28373 127.0.0.1 (4 Sep 2002 15:04:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2002 15:04:31 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mbhm-0007NT-00 for ; Wed, 04 Sep 2002 17:04:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mbjK-0004fN-00; Wed, 04 Sep 2002 11:06:06 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!news.stgl.sel.alcatel.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: news.stgl.sel.alcatel.de (194.113.59.80) Original-X-Trace: fu-berlin.de 1031151513 56383312 194.113.59.80 (16 [131051]) X-Disclaimer: Opinions expressed are not those of Alcatel. User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (sparc-sun-solaris2.8) Cancel-Lock: sha1:D7nFBIlXkHJRDnxOpO6ItndktQ0= Cache-Post-Path: news.alcatel.de!unknown@slse6v.stgl.sel.alcatel.de X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Original-Xref: nntp.stanford.edu gnu.emacs.help:104474 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1036 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1036 reingold@emr.cs.uiuc.edu (Edward M. Reingold) writes: >>>>>> "RS" == Regis Smith writes: > > RS> Unless I'm totally missing something, emacs doesn't recognize the > RS> international calendar format (YYYY-MM-DD) for entries in the diary > RS> file. I know of the M-x american-calendar and M-x european-calendar, > RS> but I can't find a command for the international format. Is there a > RS> standard hack to get this done? > > You just need to set your own value for diary-date-forms. See the > documentation for that variable. I think it would be worthwhile to enable support for ISO 8601 in calendar/diary by default. See http://www.cl.cam.ac.uk/~mgk25/iso-time.html for a detailed description. Ideally, one could give e.g. "2002-09-04T16:55:00" as a date/time spec. Of course, I don't volunteer to change the code, so I'll shut up now :) Cheers, Colin