| Re: problem with time-stamps on GNU/Linux and Windows |
|
 |
|
 |
|
 |
|
 |
Group: gnu.emacs.help · Group Profile
Author: Eli ZaretskiiEli Zaretskii Date: Sep 4, 2008 10:43
> Date: Thu, 04 Sep 2008 13:27:00 -0400
> From: ken 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.
|