Article View: news.software.readers
Article #70388Re: [xnews] Timezone bug
From: Kate Martin
Date: Thu, 11 Jan 2001 06:03
Date: Thu, 11 Jan 2001 06:03
82 lines
3569 bytes
3569 bytes
luutran@geocities_.com.invalid (Luu Tran) wrote in <Xns9025B645BC786luutrangeocities@63.209.14.66>: >ktee@_REMOVEME_chariot.net.au (Kate Martin) wrote in ><3a5ca969_4@news.chariot.net.au>: > > >>I live in Adelaide Australia. We are at UTC +9:30 hours. (Currently >>10:30 for summer time.) >> >>Xnews does not send a "Date:" header from my system. (I checked with >>a sniffer.) I had presumed that it might be because xnews expects an >>integer timezone. (A _lot_ of software is unaware of half hour >>timezones.) >> > >I don't send a Date header because most sane servers will supply a Date >header if the client software doesn't. The less I do, the less chance >I'll have to mess something up, right? He he he ... fair comment! :) (Ok, my "presumption" was wrong!) :) > >Now, if the server's date/time is wrong, well, that's somebody else's >problem :) Agreed, but, I also use servers that are not in my local time zone. Is it possible for me to force xnews to supply a "Date:" header? If not, then I guess this becomes a "feature request" rather than a bug report! > >>I am therefore at the mercy of whatever server I am connected to. >>(You will note that even my local ISP has their server set up wrong! >>It inserts UTC +10:50) Doh! :) >> > >No, it inserts +1050, or 10 1/2 hr (not 10hr50min), which is correct. > Ok, I had been incorrectly informed that 1050 was 10h50m. (I had been told that the correct format was HHMM and should read 1030, for 10h30m.) >>Your manual makes it quite clear that xnews expects an integer for >>the TZ key in xnews.ini. (I tried non-integer anyway, no success.) >>:) >> > >It would've accepted 1050. However, since it can retrieve the timezone >info from windows (I changed my tz to adelaide and checked), it'll >ignore what you have in xnews.ini. The next version WILL follow what >you set it xnews.ini. Indeed, my lack of correct information. I had tried 10.5 and 10:30, but not the (correct?) 1050. :) > >I shouldn't call it TZ though. It's more accurately the time zone >offset, where > >localtime = UTC + timezoneoffset / 2400. > >localtime and utc are both in hours (e.g., 1:15pm=13.25) I was unaware that the timezone offset was in decimal hours. (1050 as opposed to 1030) > >sorry abt the confusion. hope that makes sense. > Yes, thanks, it helps a lot. So, I guess this comes down to "can I force xnews to supply a 'Date:' header?" The main reason is the fact that I use mutliple servers in different time zones. Thanks in advance. Kate
Technical Details
Message-ID:
<3a5d5163_7@news.chariot.net.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!news.saix.saia.asn.au!news.chariot.net.au!210.9.19.170References:
<3a5ca969_4@news.chariot.net.au> <Xns9025B645BC786luutrangeocities@63.209.14.66>Show Full Headers
Complete Article Headers
Message-ID: <3a5d5163_7@news.chariot.net.au> Subject: Re: [xnews] Timezone bug Date: Thu, 11 Jan 2001 06:03:31 +0000 From: ktee@_REMOVEME_chariot.net.au (Kate Martin) References: <3a5ca969_4@news.chariot.net.au> <Xns9025B645BC786luutrangeocities@63.209.14.66> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!harbinger.cc.monash.edu.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!news.saix.saia.asn.au!news.chariot.net.au!210.9.19.170 Newsgroups: news.software.readers User-Agent: Xnews/M3 NNTP-Posting-Host: 210.9.19.170 X-Trace: 11 Jan 2001 16:53:31 +1050, 210.9.19.170 Lines: 81