Thread View: news.software.nn
6 messages
6 total messages
Started by Tom Limoncelli
Fri, 29 May 1992 21:37
Feature request
Author: Tom Limoncelli
Date: Fri, 29 May 1992 21:37
Date: Fri, 29 May 1992 21:37
21 lines
1319 bytes
1319 bytes
I know that asking for new features is a losing situation, but I would like to suggest the following: It would be really nice if the "Date:" line was always shown as the local date and time, no matter what time zone the message was posted from. Of course, "h" (show headers) could show the real "Date:" line. This would be nice for those of us that can never remember how to convert GMT corrently. (I have a 50/50 chance of getting it wrong) Does anyone have patches to do this? Thanks! Tom -- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.uucp (play) "Tax cuts don't do any good for someone who is out of work," Gov. Bruce Sundlun, D-RI, said in denouncing Bush's economic rescue plan as woefully inadequate. "They don't need a tax cut. They need a job." Feb 3, 1992
Re: Feature request
Author: Jesper Lauridsen
Date: Sat, 30 May 1992 20:26
Date: Sat, 30 May 1992 20:26
15 lines
1224 bytes
1224 bytes
tal@Warren.MENTORG.COM (Tom Limoncelli) writes: >I know that asking for new features is a losing situation, but >I would like to suggest the following: >It would be really nice if the "Date:" line was always shown >as the local date and time, no matter what time zone the message >was posted from. Of course, "h" (show headers) could show the >real "Date:" line. To make that work would require all posting software to use that standard. That's a bit more that nn's job, besides (please correct me if I'm wrong) nn is not the one making the Date line. -- No News is Bad News
Re: Feature request
Author: Tom Limoncelli
Date: Mon, 01 Jun 1992 20:08
Date: Mon, 01 Jun 1992 20:08
32 lines
2028 bytes
2028 bytes
In <1992May30.202634.22531@daimi.aau.dk> rorschak@daimi.aau.dk (Jesper Lauridsen) writes: >To make that work would require all posting software to use that >standard. That's a bit more that nn's job, besides (please correct >me if I'm wrong) nn is not the one making the Date line. That's not what I'm talking about. Saying that this would require mods to every posting program is like saying that nn's ability to underline certain headers required everyone to change their NNTP server. Ghod. ANU-NEWS displays the "Date:" re-written for your local time. That is, a post might be posted with a date line like: Date: Mon, Jun 1 19:58:24 GMT 1992 and that's how it gets transmitted, stored, etc. However, when nn displays that article, it wouild be nice if it would display it as: date: Mon, Jun 1 15:58:24 EDT 1992 My post suggested that this would be a great feature to have in nn also. Tom -- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.uucp (play) "Tax cuts don't do any good for someone who is out of work," Gov. Bruce Sundlun, D-RI, said in denouncing Bush's economic rescue plan as woefully inadequate. "They don't need a tax cut. They need a job." Feb 3, 1992
Re: Feature request
Author: Gary Morris
Date: Tue, 02 Jun 1992 22:42
Date: Tue, 02 Jun 1992 22:42
25 lines
1938 bytes
1938 bytes
In <1992Jun1.200854.9958@Warren.MENTORG.COM> tal@Warren.MENTORG.COM (Tom Limoncelli) writes: >ANU-NEWS displays the "Date:" re-written for your local time. That >is, a post might be posted with a date line like: > Date: Mon, Jun 1 19:58:24 GMT 1992 >and that's how it gets transmitted, stored, etc. However, when nn >displays that article, it wouild be nice if it would display it >as: > date: Mon, Jun 1 15:58:24 EDT 1992 >My post suggested that this would be a great feature to have in nn >also. I think this is practical to do. The Date: line is already converted to GMT and stored internally (dh_date & t_stamp) in this way for sorting purposes (though I suspect a small bug in this conversion). It would be possible to convert this internal time to local time and display this as part of the header given the appropriate letter in the header-lines variable. I'll look into making the changes but it may be a while before I have enough time to get it done. I thought about doing this before, it would be a really nice feature. --GaryM -- Gary Morris Internet: garym@telesoft.com TeleSoft, San Diego, CA Phone: +1 619-457-2700
bug fix for NN dateline parsing (was: Feature request)
Author: Paul Eggert
Date: Fri, 05 Jun 1992 03:04
Date: Fri, 05 Jun 1992 03:04
43 lines
2135 bytes
2135 bytes
garym@telesoft.com (Gary Morris @lone) writes:
>The Date: line is already converted to GMT
>and stored internally (dh_date & t_stamp) in this way for sorting purposes
>(though I suspect a small bug in this conversion).
I was seriously annoyed by the way NN mishandles numeric GMT offsets;
it gets their signs wrong!
Also, NN mishandles non-GMT time zones near short month boundaries.
Here's an unofficial patch to NN 6.4.16 for the former bug;
the latter bug can't easily be fixed,
due to NN's, er, somewhat _unusual_ time stamp encoding.
*** old/pack_date.c Wed Apr 17 01:32:40 1991
--- new/pack_date.c Thu Jun 4 20:03:02 1992
***************
*** 4,9 ****
--- 4,11 ----
* Calculate an approximate "time_stamp" value for a date
* string. The actual value is not at all critical,
* as long as the "ordering" is ok.
+ * The current algorithm mishandles non-GMT time zones near
+ * short month boundaries, but this is rare in real news.
*
* The result is NOT a time_t value, i.e. ctime() will
* not produce the original Date string.
***************
*** 256,262 ****
res *= 24 * 60;
res += (hour * 60) + min;
! return res + tzone(date);
}
--- 258,264 ----
res *= 24 * 60;
res += (hour * 60) + min;
! return res - tzone(date);
}
Re: bug fix for NN dateline parsing (was: Feature request)
Author: Gary Morris
Date: Mon, 08 Jun 1992 17:49
Date: Mon, 08 Jun 1992 17:49
25 lines
2010 bytes
2010 bytes
In <bi!SBcHg@twinsun.com> eggert@twinsun.com (Paul Eggert) writes: >garym@telesoft.com (Gary Morris @lone) writes: >>The Date: line is already converted to GMT >>and stored internally (dh_date & t_stamp) in this way for sorting purposes >>(though I suspect a small bug in this conversion). >I was seriously annoyed by the way NN mishandles numeric GMT offsets; >it gets their signs wrong! That is what I was looking for. I was trying to figure out why, sometimes, the first article of a thread would appear *after* one or more responses. It seems that this will happen if the first article has a non-GMT date and the responses have GMT zones in the date. Thanks for the fix!! >Also, NN mishandles non-GMT time zones near short month boundaries. >Here's an unofficial patch to NN 6.4.16 for the former bug; >the latter bug can't easily be fixed, >due to NN's, er, somewhat _unusual_ time stamp encoding. That is the bug I noticed looking at the time stamp encoding. It wouldn't be that hard to fix, but it is not trivial. --GaryM -- Gary Morris Internet: garym@telesoft.com TeleSoft, San Diego, CA Phone: +1 619-457-2700
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