Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: pgnus and message-make-date
Date: 12 Oct 1998 00:52:17 +0200	[thread overview]
Message-ID: <m3zpb2iue6.fsf@sparky.gnus.org> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "11 Oct 1998 20:13:25 +0200"

Kai.Grossjohann@CS.Uni-Dortmund.DE writes:

> If only one knew how to set the locale from Lisp, then
> 
>   (let ((locale "C"))
>     (format-time-string "..."))
> 
> would do something useful...  Oh, well.

This would be useful.

Or do things respond to the LC_LANG (etc.) environment variables?
Then we could just `setenv' a bit...

(format-time-string "%b" (current-time))
=> "Oct"

even with LC_ALL or LANG set to "de".  Am I doing something wrong?

And try

(setenv "LANG" "C")

or whatever before evaling the format-time-string...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1998-10-11 22:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-06 16:00 Robert Mihram
1998-10-07  9:18 ` Robert Bihlmeyer
1998-10-10 22:20 ` Lars Magne Ingebrigtsen
1998-10-11 12:34   ` Robert Mihram
1998-10-11 15:44     ` Lars Magne Ingebrigtsen
1998-10-11 18:13       ` Kai.Grossjohann
1998-10-11 22:52         ` Lars Magne Ingebrigtsen [this message]
1998-10-12 13:51           ` Kai Grossjohann
1998-10-12 14:08             ` Lars Magne Ingebrigtsen
1998-10-12 14:57               ` Kai Grossjohann
1998-10-13  4:06           ` Stephen Zander
1998-10-13  8:12             ` Kai Grossjohann
1998-10-13  9:29           ` Robert Bihlmeyer
1998-10-17 19:39             ` Lars Magne Ingebrigtsen
1998-10-19 15:53               ` Robert Bihlmeyer
1998-10-19 18:13                 ` Paul Franklin
1998-10-19 18:25                   ` Ulrich Drepper
1998-10-19 19:27                 ` Lars Magne Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zpb2iue6.fsf@sparky.gnus.org \
    --to=larsi@gnus.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 NNTP newsgroup(s).