• Time, was Re: Maximum size .bash_aliases file

    From David Wright@21:1/5 to Greg Wooledge on Mon Jun 17 17:40:01 2024
    On Mon 17 Jun 2024 at 10:23:46 (-0400), Greg Wooledge wrote:
    On Mon, Jun 17, 2024 at 09:14:38AM -0500, David Wright wrote:
    You asked after your /system/ clock. I don't think I can tell whether
    it's set to UTC or Local Time, but only that it is correct, whichever
    it it on. Likewise the hardware RTC. The third line of /etc/adjtime
    says what the RTC is on; /etc/timezone says what the system is on;
    $ date says what your user is on.

    /etc/timezone is only used by some legacy programs. All the current
    ones should be using /etc/localtime instead, which is a symlink to a
    binary zoneinfo file, rather than a text file containing a timezone name.

    You're right of course, but confirming its value does involve using
    a command that's probably not at the front of one's mind.

    BTW what's the relationship between "current programs" and TZ nowadays?

    I wonder if Keith's confusion is simply due to my MUA using "AM" and "PM"
    in its attribution line, and Keith not seeing the "PM". Maybe I should
    look into configuring that differently.

    Along with 350M Americans! They even use just A and P over here. And a
    mere dot on digital clocks. (I see you've changed it already!)

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to David Wright on Mon Jun 17 17:50:01 2024
    On Mon, Jun 17, 2024 at 10:36:59 -0500, David Wright wrote:
    On Mon 17 Jun 2024 at 10:23:46 (-0400), Greg Wooledge wrote:
    /etc/timezone is only used by some legacy programs. All the current
    ones should be using /etc/localtime instead, which is a symlink to a
    binary zoneinfo file, rather than a text file containing a timezone name.

    You're right of course, but confirming its value does involve using
    a command that's probably not at the front of one's mind.

    BTW what's the relationship between "current programs" and TZ nowadays?

    Do you mean the TZ variable? That overrides the system default.

    hobbit:~$ date; TZ=Europe/Paris date
    Mon Jun 17 11:40:59 EDT 2024
    Mon Jun 17 17:40:59 CEST 2024

    If you're asking about programs that still use /etc/timzeone, I don't know
    of any off hand. I'd be interested in hearing about any that still do,
    though probably less so than the Debian libc6 maintainers are.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to David Wright on Mon Jun 17 19:30:02 2024
    On 6/17/24 11:36, David Wright wrote:
    On Mon 17 Jun 2024 at 10:23:46 (-0400), Greg Wooledge wrote:
    I wonder if Keith's confusion is simply due to my MUA using "AM" and "PM"
    in its attribution line, and Keith not seeing the "PM". Maybe I should
    look into configuring that differently.

    Along with 350M Americans! They even use just A and P over here. And a
    mere dot on digital clocks.

    And I can never remember if the dot means AM or PM. I suspect it changes between implementations, or maybe I'm just very slow.

    Worse(?), some clocks that don't deal with date or alarms (e.g. microwave,
    car, some watches) are 12h only.

    --
    Given the correlation between insufficient nookie and the high rate of unemployment among recent college graduates coupled with high college
    debts, I propose to kill two birds* with one stone: A new government
    program called "Ameriwhore". -- Arty in AFC-A

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)