🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by rj Sat, 04 Dec 2010 07:26
[slrn] Date header in UTC, want local time
#243623
Author: rj
Date: Sat, 04 Dec 2010 07:26
15 lines
1521 bytes
When I post, or reply to, a message in slrn, the "Date" header displays the
time in UTC, and I'd like it to be -0500 local EST time.

I have:

set use_localtime 3

in my .slrnrc but that's not doing the trick.

All suggestions appreciated.

-- 
 City cops & state cops & national guard & bureau cops & tv cops & movie cops
  & uniform & plainclothes cops & riot cops & cops on top of cops on top of
       cops on top of cops: it's a world full of cops.     -- Paleface
Re: [slrn] Date header in UTC, want local time
#243624
Author: andrew
Date: Sat, 04 Dec 2010 10:22
17 lines
1560 bytes
On 2010-12-04, rj <rj@panix.com.invalid> wrote:
> When I post, or reply to, a message in slrn, the "Date" header displays the
> time in UTC, and I'd like it to be -0500 local EST time.
>
> I have:
>
> set use_localtime 3
>
> in my .slrnrc but that's not doing the trick.

I am not sure with this one but perhaps have a look at:

http://slrn.sourceforge.net/docs/slrn-manual-6.html#generate_date_header

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] Date header in UTC, want local time
#243626
Author: Christian Ebert
Date: Sat, 04 Dec 2010 12:09
23 lines
2063 bytes
* rj on Saturday, December 04, 2010:
> When I post, or reply to, a message in slrn, the "Date" header displays the
> time in UTC, and I'd like it to be -0500 local EST time.

Not only your header display, your date header actually says:

| Date: Sat, 4 Dec 2010 07:26:53 +0000 (UTC)

> I have:
> 
> set use_localtime 3
> 
> in my .slrnrc but that's not doing the trick.

You should not need this. Did you check the timezone on your
machine?

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
Re: [slrn] Date header in UTC, want local time
#243628
Author: Ted S.
Date: Sat, 04 Dec 2010 13:31
12 lines
1727 bytes
On Sat, 4 Dec 2010 07:26:53 +0000 (UTC), rj wrote:

> All suggestions appreciated.

Move to UTC+0.

Well, you *did* write "all suggestions appreciated".  :-p

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: [slrn] Date header in UTC, want local time
#243630
Author: Indi
Date: Sat, 04 Dec 2010 16:14
47 lines
2313 bytes
On 2010-12-04, Christian Ebert <blacktrash@gmx.net> wrote:
> * rj on Saturday, December 04, 2010:
>> When I post, or reply to, a message in slrn, the "Date" header displays the
>> time in UTC, and I'd like it to be -0500 local EST time.
>
> Not only your header display, your date header actually says:
>
>| Date: Sat, 4 Dec 2010 07:26:53 +0000 (UTC)
>
>> I have:
>> 
>> set use_localtime 3
>> 
>> in my .slrnrc but that's not doing the trick.
>
> You should not need this. Did you check the timezone on your
> machine?
>
> c

I think you have to add the generate_date_header as well.

According to TFM (http://slrn.sourceforge.net/docs/slrn-manual-6.html),

"use_localtime 

Type: integer
Default: 1

This variable determines if your local timezone is used by the "%D"
specifiers in followup_date_format and overview_date_format. The
following settings are possible: 
        0  always use GMT
        1  use local timezone in overview_date_format
        2  use local timezone in followup_date_format
        3  always use local timezone

Note: This setting does not affect the "Date:" header lines in your own
postings. They are not even generated by slrn, unless you set
generate_date_header. VMS and BeOS do not support using GMT."

 

-- 
Caveat utilitor,
indi
Re: [slrn] Date header in UTC, want local time
#243631
Author: Adam Funk
Date: Sat, 04 Dec 2010 19:50
18 lines
1531 bytes
On 2010-12-04, Ted S. wrote:

> On Sat, 4 Dec 2010 07:26:53 +0000 (UTC), rj wrote:
>
>> All suggestions appreciated.
>
> Move to UTC+0.
>
> Well, you *did* write "all suggestions appreciated".  :-p


Is there anywhere in the world that's UTC+0 all year round?


-- 
Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla 
pendere, et cum illi pueri dicerent: beable beable beable; respondebat 
illa: doidy doidy doidy.                                   [plorkwort]
Re: [slrn] Date header in UTC, want local time
#243632
Author: Ted S.
Date: Sat, 04 Dec 2010 20:48
13 lines
2009 bytes
On Sat, 04 Dec 2010 19:50:30 +0000, Adam Funk wrote:

>> Move to UTC+0.
> 
> Is there anywhere in the world that's UTC+0 all year round?

Much of west Africa is in UTC+0.  Morocco uses summer time, but I think
the rest of it doesn't, which includes places like Senegal and Ghana.

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: [slrn] Date header in UTC, want local time
#243633
Author: Gene E. Bloch
Date: Sat, 04 Dec 2010 22:27
22 lines
1964 bytes
On Sat, 04 Dec 2010 19:50:30 +0000, Adam Funk wrote:

> On 2010-12-04, Ted S. wrote:
> 
>> On Sat, 4 Dec 2010 07:26:53 +0000 (UTC), rj wrote:
>>
>>> All suggestions appreciated.
>>
>> Move to UTC+0.
>>
>> Well, you *did* write "all suggestions appreciated".  :-p
> 
> 
> Is there anywhere in the world that's UTC+0 all year round?

Instead of researching it I'm gong to guess Antarctica.

Of course, astronomers and radio amateurs use UTC+0 year round, but
that's not quite a *place*.

-- 
Gene E. Bloch (Stumbling Bloch)
Re: [slrn] Date header in UTC, want local time
#243634
Author: Allodoxaphobia
Date: Sat, 04 Dec 2010 23:41
10 lines
1547 bytes
On Sat, 4 Dec 2010 14:27:30 -0800, Gene E. Bloch wrote:
> On Sat, 04 Dec 2010 19:50:30 +0000, Adam Funk wrote:
>> 
>> Is there anywhere in the world that's UTC+0 all year round?
>
> Instead of researching it I'm gong to guess Antarctica.

Instead of researching it, I'm going to guess near the equator.
Not much need for "springing forward" or "falling back" in that clime.
Re: [slrn] Date header in UTC, want local time
#243635
Author: Gene E. Bloch
Date: Sun, 05 Dec 2010 02:05
27 lines
2556 bytes
On 4 Dec 2010 23:41:28 GMT, Allodoxaphobia wrote:

> On Sat, 4 Dec 2010 14:27:30 -0800, Gene E. Bloch wrote:
>> On Sat, 04 Dec 2010 19:50:30 +0000, Adam Funk wrote:
>>> 
>>> Is there anywhere in the world that's UTC+0 all year round?
>>
>> Instead of researching it I'm gong to guess Antarctica.
> 
> Instead of researching it, I'm going to guess near the equator.
> Not much need for "springing forward" or "falling back" in that clime.

Which has nothing to do with UTC+0. 

You are referring to Daylight Saving Time or Summer Time; UTC+0 is
(approximately) what used to be called Greenwich Mean Time, the standard
time at longitude 0 degrees.

Since the equator runs all around the earth, as does any parallel of
latitude, there is a need for about 24 hours of time zones. Otherwise,
it would (for example) be noon in Nebraska at the same time that it's
noon in India.

You probably should have at least researched the meaning of UTC :-)

-- 
Gene E. Bloch (Stumbling Bloch)
Re: [slrn] Date header in UTC, want local time
#243637
Author: Ted S.
Date: Sun, 05 Dec 2010 02:05
23 lines
2446 bytes
On Sat, 4 Dec 2010 14:27:30 -0800, Gene E. Bloch wrote:

>> Is there anywhere in the world that's UTC+0 all year round?
> 
> Instead of researching it I'm gong to guess Antarctica.

I'm pretty certain the Amundsen-Scott station at the South Pole is on
New Zealand time, as it's resupplied by planes that fly out of New
Zealand.
<http://en.wikipedia.org/wiki/Amundsen-Scott_South_Pole_Station>  I'm
not certain about the other stations.
 
> Of course, astronomers and radio amateurs use UTC+0 year round, but
> that's not quite a *place*.

Astronomers use Julian Days, which in theory start at noon UTC.

<http://en.wikipedia.org/wiki/Julian_day>

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: [slrn] Date header in UTC, want local time
#243636
Author: rj
Date: Sun, 05 Dec 2010 05:14
26 lines
1942 bytes
On Sat, 04 Dec 2010 13:09:57 +0100,
Christian Ebert <blacktrash@gmx.net> wrote:

>* rj on Saturday, December 04, 2010:
>> When I post, or reply to, a message in slrn, the "Date" header displays the
>> time in UTC, and I'd like it to be -0500 local EST time.
>
> Not only your header display,

Was using "displays" as a verb, JTC (just to clarify).


> You should not need this.

Correct.  As it turns out, I in fact do not need it.


> Did you check the timezone on your machine?

TZ on box fine, what I did need was generate_date_format. Thanks for
responses.

-- 
 City cops & state cops & national guard & bureau cops & tv cops & movie cops
  & uniform & plainclothes cops & riot cops & cops on top of cops on top of
       cops on top of cops: it's a world full of cops.     -- Paleface
Re: [slrn] Date header in UTC, want local time
#243639
Author: Christian Ebert
Date: Sun, 05 Dec 2010 12:04
24 lines
2179 bytes
* rj on Sunday, December 05, 2010:
> On Sat, 04 Dec 2010 13:09:57 +0100,
> Christian Ebert <blacktrash@gmx.net> wrote:
>> Did you check the timezone on your machine?
> 
> TZ on box fine, what I did need was generate_date_format. Thanks for
> responses.

I guess inn my slrn version the variable is called
generate_date_header. But I don't need to set it explicitly:

$ slrn --show-config | fgrep _date_
	followup_date_format=NULL
	overview_date_format=NULL
	generate_date_header=0

Strange.

c
-- 
\black\trash movie   _SAME  TIME  SAME  PLACE_
	       New York, in the summer of 2001

--->> http://www.blacktrash.org/underdogma/stsp.php
Re: [slrn] Date header in UTC, want local time
#243643
Author: Moe Trin
Date: Sun, 05 Dec 2010 19:46
73 lines
4810 bytes
On Sat, 4 Dec 2010, in the Usenet newsgroup news.software.readers, in article
<j4bw0cp417th$.1cybbowpptzff$.dlg@40tude.net>, Gene E. Bloch wrote:

>Allodoxaphobia wrote:

>> Gene E. Bloch wrote:

>>> Adam Funk wrote:

>>>> Is there anywhere in the world that's UTC+0 all year round?

Yes - 17 regions

[compton ~]$ grep -w 0:00 time.2010o/Time.zone.names.10o | grep -w n
Africa/Abidjan  Cote_D'Ivoire   CI      n       0:00
Africa/Accra    Ghana   GH      n       0:00
Africa/Bamako   Mali    ML      n       0:00
Africa/Banjul   Gambia  GM      n       0:00
Africa/Bissau   Guinea-Bissau   GW      n       0:00
Africa/Conakry  Guinea  GN      n       0:00
Africa/Dakar    Senegal SN      n       0:00
Africa/El_Aaiun Western_Sahara  EH      n       0:00
Africa/Freetown Sierra_Leone    SL      n       0:00
Africa/Lome     Togo    TG      n       0:00
Africa/Monrovia Liberia LR      n       0:00
Africa/Nouakchott       Mauritania      MR      n       0:00
Africa/Ouagadougou      Burkina_Faso    BF      n       0:00
Africa/Sao_Tome Sao_Tome_and_Principe   ST      n       0:00
America/Danmarkshavn    Denmark_Greenland       GL      n       0:00
Atlantic/Reykjavik      Iceland IS      n       0:00
Atlantic/St_Helena      St_Helena       SG      n       0:00
[compton ~]$ 

>>> Instead of researching it I'm gong to guess Antarctica.

See the "Geography" section in the December 2010 issue of National
Geographic magazine.  In 2009, 18 Antarctic winter stations used the
time in the home country, 11 used the time at the supply port, and 8
used the geographic zone time.  That means only one (the Norwegian
station at 71.76S/2.86E) used UTC.

>> Instead of researching it, I'm going to guess near the equator.
>> Not much need for "springing forward" or "falling back" in that
>> clime.

>Which has nothing to do with UTC+0.

True - but see above and figure out where some of those zones are.

>Since the equator runs all around the earth, as does any parallel of
>latitude, there is a need for about 24 hours of time zones. Otherwise,
>it would (for example) be noon in Nebraska at the same time that it's
>noon in India.

Other than the time in the Outsourced telephone support centers?  No,
India uses just one timezone Asia/Kolkata (IST +5:30 no DST).  Nebraska
is on (US) Central time (-6:00) and uses DST.

[compton ~]$ cut -f5 time.2010o/Time.zone.names.10o | sort -un | column
-11:00  -7:00   -3:00   1:00    4:30    6:30    9:30    12:00
-10:00  -6:00   -3:30   2:00    5:00    7:00    10:00   12:45
-9:00   -5:00   -2:00   3:00    5:30    8:00    10:30   13:00
-9:30   -4:00   -1:00   3:30    5:45    8:45    11:00   14:00
-8:00   -4:30   0:00    4:00    6:00    9:00    11:30
[compton ~]$ 

and that _doesn't_ include DST/Summer time offsets.  There should be
25 zones (-12 to +12) and instead...   If you look in the right place
on your operating system (such as /usr/share/zoneinfo on a *nix box),
you'd find there are 420 or 558 zone files (depending on compiler
options).  It's a political result of a practical problem.

        Old guy
Re: [slrn] Date header in UTC, want local time
#243648
Author: rj
Date: Mon, 06 Dec 2010 00:12
24 lines
2246 bytes
On Sun, 05 Dec 2010 13:04:47 +0100, Christian Ebert <blacktrash@gmx.net> wrote:
>* rj on Sunday, December 05, 2010:
>> On Sat, 04 Dec 2010 13:09:57 +0100,
>> Christian Ebert <blacktrash@gmx.net> wrote:
>>> Did you check the timezone on your machine?
>> 
>> TZ on box fine, what I did need was generate_date_format. Thanks for
>> responses.
>
> I guess inn my slrn version the variable is called
> generate_date_header.

Mine, too.  I wrote "format" when I meant "header."

> But I don't need to set it explicitly:

I think I do: I set it to zero, posted a message, and that message's
date-header was back at UTC time again instead of at the -0500 time that
I want.

-- 
 City cops & state cops & national guard & bureau cops & tv cops & movie cops
  & uniform & plainclothes cops & riot cops & cops on top of cops on top of
       cops on top of cops: it's a world full of cops.     -- Paleface
Re: [slrn] Date header in UTC, want local time
#243652
Author: dyrmak
Date: Mon, 06 Dec 2010 04:08
36 lines
2626 bytes
En 24 lignes rj a écrit
dans news:idh9or$k4k$1@reader1.panix.com
 le lundi, 06 décembre 2010 à 00:12:10 +0000 (UTC) :

> On Sun, 05 Dec 2010 13:04:47 +0100, Christian Ebert <blacktrash@gmx.net> wrote:
>>* rj on Sunday, December 05, 2010:
>>> On Sat, 04 Dec 2010 13:09:57 +0100,
>>> Christian Ebert <blacktrash@gmx.net> wrote:
>>>> Did you check the timezone on your machine?
>>> 
>>> TZ on box fine, what I did need was generate_date_format. Thanks for
>>> responses.
>>
>> I guess inn my slrn version the variable is called
>> generate_date_header.
>
> Mine, too.  I wrote "format" when I meant "header."
>
>> But I don't need to set it explicitly:
>
> I think I do: I set it to zero, posted a message, and that message's
> date-header was back at UTC time again instead of at the -0500 time that
> I want.
>

My date-header is not UTC and I don't need to set it explicitly neither,
that got me puzzled and set me thinking;  perhaps it's got something
to do with the way the OS (Linux) was installed ( when one's asked for 
localtime or UTC during installation ).

dyrmak
-- 
Una pata y sus diez dedos
++++ --- ++++
Linux operating system
++++ --- ++++
Re: [slrn] Date header in UTC, want local time
#243662
Author: Gene E. Bloch
Date: Mon, 06 Dec 2010 23:36
13 lines
1870 bytes
On Sat, 4 Dec 2010 21:05:19 -0500, Ted S. wrote:

>> Of course, astronomers and radio amateurs use UTC+0 year round, but
>> that's not quite a *place*.
> 
> Astronomers use Julian Days, which in theory start at noon UTC.
> 
> <http://en.wikipedia.org/wiki/Julian_day>

But we were talking about time zones...

-- 
Gene E. Bloch (Stumbling Bloch)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads