[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs 21.1 w2k: format-time-string %b is different than in 20.7
From: |
Jari Aalto+mail.emacs |
Subject: |
Emacs 21.1 w2k: format-time-string %b is different than in 20.7 |
Date: |
Sat, 05 Jan 2002 13:01:00 +0200 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/20.7 (i386-*-nt5.0.2195) (i386-*-nt5.0.2195) |
I was suprised to see my dired.el listing ragged in Emacs 21.1 and
I traced the cause to the ls-lisp.el, which in function
`ls-lisp-format-time' uses `format-time-string'. Here are two set
of test, both in the same w2k Pro
Emacs 20.7
(format-time-string "%b %e %H:%M" (current-time))
"Jan 5 12:55"
====
C-h f format-time-string:
%b and %h are the locale's abbreviated month name, %B the full name.
Emacs 21.1
(format-time-string "%b %e %H:%M" (current-time))
"tammi 5 12:56"
======
C-h f format-time-string:
%b and %h are the locale's abbreviated month name, %B the full name.
My current locale in W2k "Regional Options" is "Finnish", because
it is the only way to use keyboard correctly.
But I do not want to see the month names in "finnish", because they
are not abbreviated to 3 letters (like in output above).
Is there any way to force Emacs use different locale settings and
have format-time-string display Months and other time related
names in english?
Jari
- Emacs 21.1 w2k: format-time-string %b is different than in 20.7,
Jari Aalto+mail.emacs <=