From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: UK date format in Dired
Date: Sat, 27 Jan 2007 13:25:40 +1100 [thread overview]
Message-ID: <87hcud5hp7.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.3542.1169678575.2155.help-gnu-emacs@gnu.org
"Graham Smith" <myotisone@gmail.com> 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
next prev parent reply other threads:[~2007-01-27 2:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3542.1169678575.2155.help-gnu-emacs@gnu.org>
2007-01-24 23:32 ` UK date format in Dired Harald Hanche-Olsen
2007-01-25 6:15 ` Graham Smith
2007-01-26 8:21 ` Eli Zaretskii
2007-01-26 18:55 ` Graham Smith
2007-01-26 20:16 ` Peter Dyballa
2007-01-26 20:41 ` Graham Smith
2007-01-26 22:14 ` Peter Dyballa
2007-01-26 22:38 ` Graham Smith
2007-01-27 10:36 ` Eli Zaretskii
2007-01-27 10:27 ` Eli Zaretskii
2007-01-27 11:21 ` Peter Dyballa
2007-01-27 11:34 ` Eli Zaretskii
2007-01-27 2:25 ` Tim X [this message]
2007-01-27 8:40 ` Graham Smith
2007-01-27 11:22 ` Eli Zaretskii
2007-01-24 22:42 Graham Smith
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hcud5hp7.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).