2009/6/24 Osamu Aoki :
> On Tue, Jun 23, 2009 at 05:34:08PM +0300, Dotan Cohen wrote:
>> On a Debian system how can the user see what his locale configuration
>> configures? For instance, I know that if a user has:
>> LC_TIME="en_US.UTF-8"
>> then his date format is mm/dd/ however where can I s
On Tue, Jun 23, 2009 at 05:34:08PM +0300, Dotan Cohen wrote:
> On a Debian system how can the user see what his locale configuration
> configures? For instance, I know that if a user has:
> LC_TIME="en_US.UTF-8"
> then his date format is mm/dd/ however where can I see that? How
> can I get the
2009/6/23 Dotan Cohen :
>> Normally you don't need to know. You use strptime(3) to print the
>> date and/or time. For example, strptime("%c", ...). The manual
>> page will give you the detail.
>>
>> To get the format string, do:
>> locale -k d_fmt
>> d_fmt="%d/%m/%y"
>> (en_GB)
>>
>> A list of k
On Tue, Jun 23, 2009 at 17:52:01 +0100, Roger Leigh wrote:
> On Tue, Jun 23, 2009 at 07:24:54PM +0300, Dotan Cohen wrote:
[...]
> > I see, thanks. Other than changing my locale to a foreign locale
> > (well, ok, US is a foreign locale for me but there is a reason that I
> > keep it), is there a w
On Tue, Jun 23, 2009 at 07:24:54PM +0300, Dotan Cohen wrote:
> > Normally you don't need to know. You use strptime(3) to print the
> > date and/or time. For example, strptime("%c", ...). The manual
> > page will give you the detail.
> >
> > To get the format string, do:
> > locale -k d_fmt
> > d
> Normally you don't need to know. You use strptime(3) to print the
> date and/or time. For example, strptime("%c", ...). The manual
> page will give you the detail.
>
> To get the format string, do:
> locale -k d_fmt
> d_fmt="%d/%m/%y"
> (en_GB)
>
> A list of keywords is found in locale(5).
>
On Tue, Jun 23, 2009 at 05:17:31PM +0100, Roger Leigh wrote:
> On Tue, Jun 23, 2009 at 06:54:34PM +0300, Dotan Cohen wrote:
> > > by issuing the locale command.
> > >
> >
> > I mean, let's say that I want -mm-dd date format? What command can
> > I give to show me which locale I must configure
On Tue, Jun 23, 2009 at 06:54:34PM +0300, Dotan Cohen wrote:
> > by issuing the locale command.
> >
>
> I mean, let's say that I want -mm-dd date format? What command can
> I give to show me which locale I must configure to get that format?
Normally you don't need to know. You use strptime(3
> by issuing the locale command.
>
I mean, let's say that I want -mm-dd date format? What command can
I give to show me which locale I must configure to get that format?
Sorry for not asking a clear question.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
To UNSUBSCRIB
On Tue, Jun 23, 2009 at 05:34:08PM +0300, Dotan Cohen wrote:
> On a Debian system how can the user see what his locale configuration
> configures? For instance, I know that if a user has:
> LC_TIME="en_US.UTF-8"
> then his date format is mm/dd/ however where can I see that? How
> can I get the
On a Debian system how can the user see what his locale configuration
configures? For instance, I know that if a user has:
LC_TIME="en_US.UTF-8"
then his date format is mm/dd/ however where can I see that? How
can I get the system to show that to me?
Thanks!
--
Dotan Cohen
http://what-is-wh
11 matches
Mail list logo