unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: vc-cvs-parse-entry
Date: Mon, 04 Sep 2006 20:55:25 +0300	[thread overview]
Message-ID: <u3bb77bzm.fsf@gnu.org> (raw)
In-Reply-To: <44FBEF1E.8030806@gmx.at> (message from martin rudalics on Mon, 04 Sep 2006 11:17:18 +0200)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

> Date: Mon, 04 Sep 2006 11:17:18 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC:  emacs-devel@gnu.org
> 
> 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.

  reply	other threads:[~2006-09-04 17:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 16:20 vc-cvs-parse-entry martin rudalics
2006-08-29 19:07 ` vc-cvs-parse-entry Stefan Monnier
2006-08-29 20:51   ` vc-cvs-parse-entry martin rudalics
2006-08-29 21:06     ` vc-cvs-parse-entry Stefan Monnier
2006-08-30 12:24       ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 17:51         ` vc-cvs-parse-entry martin rudalics
2006-09-02 13:10           ` vc-cvs-parse-entry Eli Zaretskii
2006-09-02 13:45             ` vc-cvs-parse-entry martin rudalics
2006-09-02 14:48               ` vc-cvs-parse-entry Eli Zaretskii
2006-09-03 10:40                 ` vc-cvs-parse-entry martin rudalics
2006-09-03 21:00                   ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  3:17                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  9:17                       ` vc-cvs-parse-entry martin rudalics
2006-09-04 17:55                         ` Eli Zaretskii [this message]
2006-09-05  9:10                           ` vc-cvs-parse-entry martin rudalics
2006-09-05 18:31                             ` vc-cvs-parse-entry Eli Zaretskii
2006-09-10  9:55                               ` vc-cvs-parse-entry martin rudalics
2006-09-10 21:17                                 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-11  9:41                                   ` vc-cvs-parse-entry martin rudalics
2006-09-11 14:14                                     ` vc-cvs-parse-entry Stefan Monnier
2006-09-12  3:50                                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-14  8:40                                       ` vc-cvs-parse-entry martin rudalics
2006-09-15 17:43                                         ` vc-cvs-parse-entry Eli Zaretskii
2006-09-15 17:51                                         ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 21:01         ` vc-cvs-parse-entry Stefan Monnier
2006-09-02 12:32           ` vc-cvs-parse-entry Eli Zaretskii

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=u3bb77bzm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).