🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by art Tue, 24 Jun 1997 00:00
convdate loosing a hour
#18658
Author: art
Date: Tue, 24 Jun 1997 00:00
15 lines
740 bytes
anybody have any idea why convdate is loosing a hour on conversion 

news logs $ convdate -n 15:00:00  
867182400
news logs $ convdate -c 867182400
Tue Jun 24 14:00:00 1997

this is/was a very usefull util

aem@cyberhighway.net



Re: convdate loosing a hour
#18663
Author: art
Date: Tue, 24 Jun 1997 00:00
33 lines
1322 bytes
art (aem@cyberhighway.net) wrote:
: anybody have any idea why convdate is loosing a hour on conversion 

: news logs $ convdate -n 15:00:00  
: 867182400
: news logs $ convdate -c 867182400
: Tue Jun 24 14:00:00 1997

: this is/was a very usefull util

: aem@cyberhighway.net


I found part of the problem 
it would apear that some part of it is not doing daylight savings time
now I nead to fix it

news /usr/lib/news $ export TZ=MST7MDT
news /usr/lib/news $ convdate -n "0:0:0"  
867128400
news /usr/lib/news $ convdate -c 867128400
Mon Jun 23 23:00:00 1997
news /usr/lib/news $ export TZ=MST
news /usr/lib/news $ convdate -n "0:0:0" 
867135600
news /usr/lib/news $ convdate -c 867135600
Tue Jun 24 00:00:00 1997


aem@cyberhighway.net

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