From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: problem with time-stamps on GNU/Linux and Windows Date: Thu, 04 Sep 2008 20:43:55 +0300 Message-ID: References: <48C01A64.9060705@mousecar.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1220550296 7219 80.91.229.12 (4 Sep 2008 17:44:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 17:44:56 +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 19:45:51 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 1KbItw-0000Pe-Ei for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 19:45:48 +0200 Original-Received: from localhost ([127.0.0.1]:34954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbIsw-0008Vl-WF for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 13:44:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbIsc-0008VH-VZ for help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 13:44:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbIsb-0008UX-NH for Help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 13:44:26 -0400 Original-Received: from [199.232.76.173] (port=41946 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbIsb-0008UT-Gi for Help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 13:44:25 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:58126) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbIsa-0007T5-QQ for Help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 13:44:25 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K6O006LQMMBTZH0@i_mtaout4.012.net.il> for Help-gnu-emacs@gnu.org; Thu, 04 Sep 2008 20:44:36 +0300 (IDT) In-reply-to: <48C01A64.9060705@mousecar.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:57274 Archived-At: > Date: Thu, 04 Sep 2008 13:27:00 -0400 > From: ken > Cc: Help-gnu-emacs@gnu.org > > >> 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. The problem is not the time, but the abbreviated name of the second day of the week ("Tue" in English). These abbreviated names come from a call to a library function, which are different on Windows and on GNU/Linux, so they return different strings. > But I'm guessing that the problem isn't the accuracy of > the time, but rather the human-readable output derived from those words. Emacs does not derive the names from those words, it simply returns whatever the library functions hand it.