Now dired writes the last access date/time in the following format:
Jun 20 14:22
How to make it write:
20.06.2012 14:22
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
one of these options:
1 you can set the appropriate variables.
explanation: The
ls-lisp-format-time-listis a list of two format strings, which work as they do with theformat-time-stringfunction. There are two, because by default emacs is set up to display "recent" files with a higher-resolution timestamp than "older" files, where the recent vs older threshold is 6 months (I think). The first is the format used for recent files; the latter is for older files.I never liked the default behavior; I just want the files to be displayed the same way. So I set the list to use the same time format for newer and older files.
2 You can redefine the function
ls-lisp-format-time.For example, if I do this:
Then dired looks like this:
The original definition of the function is in ls-lisp.el.