[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UK date format in Dired
From: |
Tim X |
Subject: |
Re: UK date format in Dired |
Date: |
Sat, 27 Jan 2007 13:25:40 +1100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
"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
- Re: UK date format in Dired, (continued)
- Re: UK date format in Dired, Eli Zaretskii, 2007/01/26
- Re: UK date format in Dired, Graham Smith, 2007/01/26
- Re: UK date format in Dired, Peter Dyballa, 2007/01/26
- Re: UK date format in Dired, Graham Smith, 2007/01/26
- Re: UK date format in Dired, Peter Dyballa, 2007/01/26
- Re: UK date format in Dired, Graham Smith, 2007/01/26
- Re: UK date format in Dired, Eli Zaretskii, 2007/01/27
- Re: UK date format in Dired, Eli Zaretskii, 2007/01/27
- Re: UK date format in Dired, Peter Dyballa, 2007/01/27
- Re: UK date format in Dired, Eli Zaretskii, 2007/01/27
Re: UK date format in Dired,
Tim X <=