unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: problem with time-stamps on GNU/Linux and Windows
Date: Thu, 04 Sep 2008 20:43:55 +0300	[thread overview]
Message-ID: <uhc8vkdr8.fsf@gnu.org> (raw)
In-Reply-To: <48C01A64.9060705@mousecar.com>

> Date: Thu, 04 Sep 2008 13:27:00 -0400
> From: ken <gebser@mousecar.com>
> 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.




  reply	other threads:[~2008-09-04 17:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.18400.1220525633.18990.help-gnu-emacs@gnu.org>
2008-09-04 13:00 ` problem with time-stamps on GNU/Linux and Windows Jason Rumney
2008-09-04 17:27   ` ken
2008-09-04 17:43     ` Eli Zaretskii [this message]
2008-09-04 18:37       ` Seweryn Kokot
2008-09-04 19:04         ` ken
2008-09-04 19:55           ` Seweryn Kokot
     [not found]       ` <mailman.18448.1220552912.18990.help-gnu-emacs@gnu.org>
2008-09-05  0:38         ` Giorgos Keramidas
2008-09-04 18:19     ` Seweryn Kokot
2008-09-04 11:02 Seweryn Kokot

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=uhc8vkdr8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Help-gnu-emacs@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.
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).