From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: UK date format in Dired Date: Sat, 27 Jan 2007 13:25:40 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87hcud5hp7.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169865666 17852 80.91.229.12 (27 Jan 2007 02:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2007 02:41:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 27 03:41:00 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HAdUx-0006gt-4R for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jan 2007 03:40:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAdUw-0003DU-N9 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jan 2007 21:40:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:zFsLbctZCaGvno/Ac5jmZujCK6A= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 46 Original-Xref: shelby.stanford.edu gnu.emacs.help:145094 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40698 Archived-At: "Graham Smith" writes: > Is it possible to get Dired to show dates in UK format. I have added a line to > .emacs to show the diary dates in European format, but cannot find any instructions > to change the format in Dired. > This probably depends on whether your using the elisp version of ls or the ls that is installed on your system (the one which would be called in a shell). If your using the elisp ls emulation, check out ls-lisp-format-time-list. I use the ls-lisp function rather than the native ls program because I also like dired to list directories first. ,----[ C-h v ls-lisp-format-time-list RET ] | ls-lisp-format-time-list is a variable defined in `ls-lisp.el'. | Its value is | ("%b %e %H:%M" "%b %e %Y") | | | | Documentation: | *List of `format-time-string' specs to display file time stamps. | They are used whenever a locale is not specified to use instead. | | Syntax: (EARLY-TIME-FORMAT OLD-TIME-FORMAT) | | The EARLY-TIME-FORMAT is used if file has been modified within the | current year. The OLD-TIME-FORMAT is used for older files. To use ISO | 8601 dates, you could set: | | (setq ls-lisp-format-time-list | '("%Y-%m-%d %H:%M" | "%Y-%m-%d ")) | | You can customize this variable. | | [back] `---- regards, Tim -- tcross (at) rapttech dot com dot au