From olear@tele80.Colorado.EDU  Thu Apr 25 14:44:14 1996
Received: from tele80.Colorado.EDU (tele80.Colorado.EDU [128.138.149.80])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA12538
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Apr 1996 14:44:11 -0700 (PDT)
Received: (from olear@localhost) by tele80.Colorado.EDU (8.7.5/8.7.3) id PAA04300; Thu, 25 Apr 1996 15:43:40 -0600 (MDT)
Message-Id: <199604252143.PAA04300@tele80.Colorado.EDU>
Date: Thu, 25 Apr 1996 15:43:40 -0600 (MDT)
From: "Mark O'Lear" <Mark.Olear@Colorado.EDU>
Reply-To: "Mark O'Lear" <Mark.Olear@Colorado.EDU>
To: FreeBSD-gnats-submit@freebsd.org
Subject: atq uses GMT time instead of TZ time
X-Send-Pr-Version: 3.2

>Number:         1158
>Category:       bin
>Synopsis:       atq uses GMT time instead of TZ time
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 25 14:50:01 PDT 1996
>Closed-Date:    Tue Jul 30 08:30:01 MET DST 1996
>Last-Modified:  Tue Jul 30 08:31:08 MET DST 1996
>Originator:     Mark O'Lear
>Release:        FreeBSD 2.2-960323-SNAP i386
>Organization:
University of Colorado
>Environment:

	TZ=America/Denver

>Description:

	atq command seems to be using GMT rather than TZ time
	when displaying the at queue.  Things get run when
	they are supposed to though.

>How-To-Repeat:

	tele80> date
	Thu Apr 25 15:08:22 MDT 1996

	tele80> at now + 1 minute
	echo "test" | mail olear
	Job 5 will be executed using /bin/sh

	tele80> atq
	Date                    Owner   Queue   Job#
	21:09:00 04/25/96       olear   c       5

	tele80> date
	Thu Apr 25 15:10:36 MDT 1996

	tele80> atq
	tele80>

	(I received the mail at 15:09)

>Fix:
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Tue Jul 30 08:30:01 MET DST 1996 
State-Changed-Why:  
The submitter doesn't see the failing behaviour anymore, and the code 
looks okay (it explicitly references localtime().) 
>Unformatted:
 
