From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Seweryn Kokot Newsgroups: gmane.emacs.help Subject: Re: problem with time-stamps on GNU/Linux and Windows Date: Thu, 04 Sep 2008 20:19:20 +0200 Message-ID: <87ljy7pydz.fsf@poczta.po.opole.pl> References: <48C01A64.9060705@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220551885 13933 80.91.229.12 (4 Sep 2008 18:11:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 18:11:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 20:12:20 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbJIz-0001qO-Mz for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 20:11:42 +0200 Original-Received: from localhost ([127.0.0.1]:53571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbJI0-00032f-4E for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 14:10:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbJHg-00032E-JF for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 14:10:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbJHf-00031s-OP for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 14:10:20 -0400 Original-Received: from [199.232.76.173] (port=51431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbJHf-00031p-Km for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 14:10:19 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50860 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbJHf-00041M-6X for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 14:10:19 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KbJHc-0004tq-JM for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 18:10:16 +0000 Original-Received: from nat-warynskiego.po.opole.pl ([217.173.199.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 18:10:16 +0000 Original-Received: from s.kokot by nat-warynskiego.po.opole.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 18:10:16 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-warynskiego.po.opole.pl X-PGP-FP: BF2E 7101 B6C4 CE71 527E 1A06 9B17 0C43 20EC 5AC1 X-PGP: 20EC5AC1 X-Operating-System: Debian GNU/Linux X-Homepage: http://www.skokot.po.opole.pl User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:nfFnDQ4epM3X2VhiEtCoDRFqO2w= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57275 Archived-At: ken writes: > On 09/04/2008 09:00 AM Jason Rumney wrote: >> On Sep 4, 7:02 pm, Seweryn Kokot wrote: >>> Hello, >>> >>> Could you explain to me why I get slightly different time-stamps under >>> Windows and Linux? >> >> These localized weekday names come from the system. No amount of >> configuration within Emacs will make them the same in Windows as they >> are in GNU/Linux. > > I'm not quite understanding your problem. And I don't often use > Windows. But I would think that emacs should fetch the same couple > words (i.e., two bytes) representing the time regardless of which OS it > is running on. But I'm guessing that the problem isn't the accuracy of > the time, but rather the human-readable output derived from those words. > > I trust that you've read and understand the help on > "format-time-string"... i.e., > > C-h f format-time-string [Return] I had read it before. I referred to %a from this help buffer. And the problem is with the abbreviated name of the day of week. Under Linux I get three-letter abbreviations (e.g. "wto" - "Tue") and under Windows - two-letter abbrev (e.g. "Wt"). What I want is the three-letter abbreviation. regards, Seweryn