Professional Web Applications Themes

Date format - Sun Solaris

I've been hunting around, but I can't seem to find the answer to the simplest of problems: I'm using Solaris 9 (8/03) with Sun's Gnome on it. I've just recently got Evolution to work as a mail/calendar/tasks client. My problem? How do I tell Gnome and its applications -- in particular Evolution -- that I live in England, and our dates go "dd/mm/yy" not the American way of "mm/dd/yy"? I can't find it in the Solaris help(s), the Gnome help or the Evolution help/search systems. TIA -- Regards Andy, G8TQH http://www.rickham.net/...

  1. #1

    Default Date format

    I've been hunting around, but I can't seem to find the answer to the
    simplest of problems:

    I'm using Solaris 9 (8/03) with Sun's Gnome on it. I've just recently got
    Evolution to work as a mail/calendar/tasks client.

    My problem? How do I tell Gnome and its applications -- in particular
    Evolution -- that I live in England, and our dates go "dd/mm/yy" not the
    American way of "mm/dd/yy"? I can't find it in the Solaris help(s), the
    Gnome help or the Evolution help/search systems.

    TIA

    --
    Regards
    Andy, G8TQH
    http://www.rickham.net/


    Andy Guest

  2. #2

    Default Re: Date format

    On Tue, 07 Oct 2003 17:49:30 +0100, Andy McMullin wrote:
     

    /etc/default/init

    Dave Guest

  3. #3

    Default Re: Date format

    On Tue, 7 Oct 2003, Andy McMullin wrote:
     

    Did you install Solaris with the correct locale info? The default
    is for the US.

    --
    Rich Teer, SCNA, SCSA

    President,
    Rite Online Inc.

    Voice: +1 (250) 979-1638
    URL: http://www.rite-online.net
    Rich Guest

  4. #4

    Default Re: Date format

    Andy McMullin <net.nospam> wrote: 

    it's done via locale settings. you have to set en_GB locale for evolution.

    toomas
    --
    Math is like love -- a simple idea but it can get complicated.
    -- R. Drabek
    Toomas Guest

  5. #5

    Default Re: Date format

    On Tue, 07 Oct 2003 17:16:22 +0000, Rich Teer wrote:
     
    >
    > Did you install Solaris with the correct locale info? The default
    > is for the US.[/ref]

    As far as I can remember I did. If I use the "locale" command, I get:

    LANG=en_GB.ISO8859-1
    LC_CTYPE=en_GB.ISO8859-1
    LC_NUMERIC=en_GB.ISO8859-1
    LC_TIME=en_GB.ISO8859-1
    LC_COLLATE=en_GB.ISO8859-1
    LC_MONETARY=en_GB.ISO8859-1
    LC_MESSAGES=en_GB.ISO8859-1
    LC_ALL=

    which I thought set it all to UK (well, the UK without Northern Ireland).
    If I'm set "en_GB" is there anything else I need to do?

    Thanks

    --
    Regards
    Andy, G8TQH
    http://www.rickham.net/


    Andy Guest

  6. #6

    Default Re: Date format

    On Tue, 07 Oct 2003 11:58:24 -0500, Dave Uhring wrote:
     
    >
    > /etc/default/init[/ref]

    Thanks Dave,

    However, mine reads:

    TZ=GB
    CMASK=022
    LC_COLLATE=en_GB.ISO8859-1
    LC_CTYPE=en_GB.ISO8859-1
    LC_MESSAGES=C
    LC_MONETARY=en_GB.ISO8859-1
    LC_NUMERIC=en_GB.ISO8859-1
    LC_TIME=en_GB.ISO8859-1

    which I thought set it all to en_GB -- the British way of doing things. Am
    I missing an entry or something?

    --
    Regards
    Andy, G8TQH
    http://www.rickham.net/


    Andy Guest

  7. #7

    Default Re: Date format

    On Wed, 08 Oct 2003 10:52:46 +0100, Andy McMullin wrote:
     
    >>
    >> /etc/default/init[/ref]
    >
    > Thanks Dave,
    >
    > However, mine reads:
    >
    > TZ=GB
    > CMASK=022
    > LC_COLLATE=en_GB.ISO8859-1
    > LC_CTYPE=en_GB.ISO8859-1
    > LC_MESSAGES=C
    > LC_MONETARY=en_GB.ISO8859-1
    > LC_NUMERIC=en_GB.ISO8859-1
    > LC_TIME=en_GB.ISO8859-1
    >
    > which I thought set it all to en_GB -- the British way of doing things. Am
    > I missing an entry or something?[/ref]

    LC_TIME should have set things right. See environ(5) and date(1).

    Gnome seems to ignore many other system settings, though. Did you trek
    through the Gnome Control Center?

    Dave Guest

  8. #8

    Default Re: Date format

    On Wed, 08 Oct 2003 05:28:55 -0500, Dave Uhring wrote:
     
    >
    > LC_TIME should have set things right. See environ(5) and date(1).[/ref]

    I had a play setting LC_TIME to various values; then running the date
    command. OK, so I can set the date to French and so forth -- but it
    doesn't seem to effect the way the date is displayed in Evolution for
    example.
     

    Yup. I looked at almost everything I could find -- and still can't find
    anything that looks like it might be used to set date and time
    preferences. I know there's an app to do that under KDE; but can't find
    one with Gnome (well, the Gnome Sun supplies with Sol9 8/03).

    According to the Gnome manuals, there should be a "Configuration Editor"
    along with the gconftool-2. I've only found the latter; but the
    description of the former doesn't seem to imply it sets such things.

    Any further hints would be gratefully received.

    --
    Regards
    Andy, G8TQH
    http://www.rickham.net/


    Andy Guest

  9. #9

    Default Re: Date format

    On Wed, 08 Oct 2003 12:10:57 +0100, Andy McMullin wrote:
     
    >
    > Yup. I looked at almost everything I could find -- and still can't find
    > anything that looks like it might be used to set date and time
    > preferences. I know there's an app to do that under KDE; but can't find
    > one with Gnome (well, the Gnome Sun supplies with Sol9 8/03).
    >
    > According to the Gnome manuals, there should be a "Configuration Editor"
    > along with the gconftool-2. I've only found the latter; but the
    > description of the former doesn't seem to imply it sets such things.[/ref]

    I don't ordinarily use Gnome but it used to have a "Control Center" and I
    can't seem to find it in Sun's version of Gnome. I finally got S10beta40
    working on an x86 box and I'm using Gnome there. If I find it I'll post
    it for you.

    Dave Guest

  10. #10

    Default Re: Date format

    On Wed, 08 Oct 2003 07:00:27 -0500, Dave Uhring wrote:
     

    Thanks Dave.


    --
    Regards
    Andy, G8TQH
    http://www.rickham.net/


    Andy Guest

  11. #11

    Default Re: Date format

    On Wed, 8 Oct 2003, Dave Uhring wrote:
     

    FYI, the "b" in the OS name means "build", not beta.

    (So you're using Build 40 of S10.)

    --
    Rich Teer, SCNA, SCSA

    President,
    Rite Online Inc.

    Voice: +1 (250) 979-1638
    URL: http://www.rite-online.net
    Rich Guest

  12. #12

    Default Re: Date format

    On Wed, 08 Oct 2003 17:24:37 +0000, Rich Teer wrote:
     
    >
    > FYI, the "b" in the OS name means "build", not beta.
    >
    > (So you're using Build 40 of S10.)[/ref]

    Gotcha.

    It does have gnome-control-center, but no locale settings for date
    formatting in there.

    Dave Guest

Similar Threads

  1. Date Format
    By Mark in forum Macromedia Flex General Discussion
    Replies: 22
    Last Post: October 25th, 09:54 PM
  2. PHP date format
    By erickia in forum Dreamweaver AppDev
    Replies: 2
    Last Post: May 17th, 07:05 PM
  3. converting date into database date format(newbie)
    By Binay Agarwal in forum PHP Development
    Replies: 2
    Last Post: August 29th, 01:09 PM
  4. Format of Date
    By Anthony in forum Microsoft Access
    Replies: 2
    Last Post: August 27th, 09:22 PM
  5. Date format Help.
    By bill in forum Microsoft Access
    Replies: 1
    Last Post: July 26th, 11:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139