[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-cvs-parse-entry
From: |
Eli Zaretskii |
Subject: |
Re: vc-cvs-parse-entry |
Date: |
Mon, 04 Sep 2006 20:55:25 +0300 |
> Date: Mon, 04 Sep 2006 11:17:18 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden
>
> Sorry, I forgot that --full-time needs -l. ls.exe (and thus dired with
> `ls-lisp-use-insert-directory-program' non-nil) gets me:
>
> -rw-rw-rw- 1 user group 1188 Mon Sep 01 17:45:52 2003 acldef.h
> -rw-rw-rw- 1 user group 15285 Fri Jan 30 18:10:02 2004 alloca.c
> ^^
> DIR gets me:
>
> ACLDEF H 1.188 01.09.03 17:45 acldef.h
> ALLOCA C 15.285 30.01.04 18:10 alloca.c
> ^^
>
> Emacs gets me (sorry, it's too tedious to turn off the locales):
>
> (format-time-string
> "%a %b %d %H:%M:%S %Y %Z" (nth 5 (file-attributes "~/src/acldef.h"))) ->
> "Mo Sep 01 17:45:52 2003 (MEZ) - Mitteleurop. Sommerzeit"
>
> ... "Sommerzeit" == DST
>
> (format-time-string
> "%a %b %d %H:%M:%S %Y %Z" (nth 5 (file-attributes "~/src/acldef.h")) t) ->
> "Mo Sep 01 15:45:52 2003 GMT"
>
> (format-time-string
> "%a %b %d %H:%M:%S %Y %Z" (nth 5 (file-attributes "~/src/alloca.c"))) ->
> "Fr Jän 30 17:10:02 2004 (MEZ) Mitteleuropäische Zeit"
> ^^
> ... no DST here
>
> (format-time-string
> "%a %b %d %H:%M:%S %Y %Z" (nth 5 (file-attributes "~/src/alloca.c")) t) ->
> "Fr Jän 30 16:10:02 2004 GMT"
Please tell which of these results are correct. I don't know what are
the details of the DST rules in your locale.
> BTW, stat (GNU coreutils) 5.3.0 gives the same results as Emacs, hence
> the results delivered by stat and ls (GNU fileutils) 3.16 differ on my
> system.
The GnuWin32 ports use a different implementation of stat nowadays,
perhaps that's the cause for the different results.
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/02
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/02
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/02
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/02
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/03
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/03
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/03
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/04
- Re: vc-cvs-parse-entry,
Eli Zaretskii <=
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/05
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/05
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/10
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/10
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/11
- Re: vc-cvs-parse-entry, Stefan Monnier, 2006/09/11
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/11
- Re: vc-cvs-parse-entry, martin rudalics, 2006/09/14
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/15
- Re: vc-cvs-parse-entry, Eli Zaretskii, 2006/09/15