From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: vc-cvs-parse-entry Date: Mon, 04 Sep 2006 20:55:25 +0300 Message-ID: References: <44F4A8D0.6090304@gmx.at> <44F5D00D.5080409@gmx.at> <44F98B06.2020602@gmx.at> <44FAB10B.8010608@gmx.at> <44FBEF1E.8030806@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1157392553 15192 80.91.229.2 (4 Sep 2006 17:55:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Sep 2006 17:55:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 04 19:55:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GKIfe-0000hH-Fr for ged-emacs-devel@m.gmane.org; Mon, 04 Sep 2006 19:55:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKIfe-0002r1-3g for ged-emacs-devel@m.gmane.org; Mon, 04 Sep 2006 13:55:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKIfU-0002oV-6W for emacs-devel@gnu.org; Mon, 04 Sep 2006 13:55:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKIfP-0002kq-Io for emacs-devel@gnu.org; Mon, 04 Sep 2006 13:55:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKIfP-0002kn-G9 for emacs-devel@gnu.org; Mon, 04 Sep 2006 13:55:27 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKIpy-0004sM-Hk for emacs-devel@gnu.org; Mon, 04 Sep 2006 14:06:22 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-199-178.inter.net.il [83.130.199.178]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id AJN28425 (AUTH halo1); Mon, 4 Sep 2006 20:55:25 +0300 (IDT) Original-To: martin rudalics In-reply-to: <44FBEF1E.8030806@gmx.at> (message from martin rudalics on Mon, 04 Sep 2006 11:17:18 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59331 Archived-At: > Date: Mon, 04 Sep 2006 11:17:18 +0200 > From: martin rudalics > 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.