From frank@altpeter.de  Mon Sep 19 13:45:26 2005
Return-Path: <frank@altpeter.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1408F16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Sep 2005 13:45:26 +0000 (GMT)
	(envelope-from frank@altpeter.de)
Received: from mx1.corpex-net.de (mx1.corpex-net.de [62.67.202.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A6D8243D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Sep 2005 13:45:25 +0000 (GMT)
	(envelope-from frank@altpeter.de)
Received: from [213.203.247.248] (helo=pegasus.dyndns.info)
	by mx1.corpex-net.de with asmtp (Exim 4.24; FreeBSD)
	id 1EHLxT-000Hmj-TB; Mon, 19 Sep 2005 15:45:23 +0200
Received: (from freddy@localhost)
	by pegasus.dyndns.info (8.13.4/8.13.4/Submit) id j8JDjM3i001814;
	Mon, 19 Sep 2005 15:45:22 +0200 (CEST)
	(envelope-from frank@altpeter.de)
Message-Id: <20050919134521.GB753@pegasus.dyndns.info>
Date: Mon, 19 Sep 2005 15:45:22 +0200
From: Frank Altpeter <frank@altpeter.de>
To: Thomas Nemeth <tnemeth@free.fr>, FreeBSD-gnats-submit@freebsd.org
Subject: x11-clocks/wmclockmon :: bug in internet time calculation
X-Send-Pr-Version: 3.113

>Number:         86334
>Category:       ports
>Synopsis:       x11-clocks/wmclockmon :: bug in internet time calculation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 19 13:50:17 GMT 2005
>Closed-Date:    Tue Jul 18 20:59:29 GMT 2006
>Last-Modified:  Tue Jul 18 20:59:29 GMT 2006
>Originator:     Frank Altpeter
>Release:        FreeBSD 6.0-BETA5 i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD pegasus.dyndns.info 6.0-BETA5 FreeBSD 6.0-BETA5 #3: Mon Sep 19 12:42:19 CEST 2005 root@pegasus.dyndns.info:/usr/obj/usr/src/sys/kernconf.pegasus i386

>Description:

Hi,

i just checked out the internet time feature of wmclockmon, but it seems
that it's using the wrong time calculation for displaying the internet
time.

Currently, at 15:35 local time (CEST), which corresponds to 13:36 UTC,
which corresponds in Internet time to @608 .beats, your clock mentions
that it's now @66 .beats, which is translated 02:33 a.m.

It seems that it's using the 12-hour clock and ignoring the DST, so when
using these facts it would be 2:33 p.m. now here in hamburg, which is,
ignoring the p.m. suffix, equal to @66. BTW: H12 is set to 'false'.


This happens with wmclockmon-0.8.1 on FreeBSD 6.0-BETA5 and WindowMaker-0.92.0


Any idea if this could be fixed? :)

Le deagh dhraghd,

	Frank Altpeter

-- 
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pat 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Wed Sep 21 03:33:32 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Jan 5 04:29:32 UTC 2006 
State-Changed-Why:  
Did you contact the author of the software? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 

From: Frank Altpeter <frank@altpeter.de>
To: Edwin Groothuis <edwin@FreeBSD.org>, FreeBSD-gnats-submit@FreeBSD.org
Cc: pat@FreeBSD.org
Subject: Re: ports/86334: x11-clocks/wmclockmon :: bug in internet time calculation
Date: Fri, 6 Jan 2006 14:21:19 +0100

 Hi there,
 
 Edwin Groothuis wrote on 2006-01-05 at 05:29:50 CET:
 > Synopsis: x11-clocks/wmclockmon :: bug in internet time calculation
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: edwin
 > State-Changed-When: Thu Jan 5 04:29:32 UTC 2006
 > State-Changed-Why: 
 > Did you contact the author of the software?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=86334
 > 
 
 Yes, i did with my initial bug report (it was sent to
 FreeBSD-gnats-submit@freebsd.org and Thomas Nemeth <tnemeth@free.fr>
 together), but never got any response.
 
 
 Le deagh dhraghd,
 
 	Frank Altpeter
 
 -- 
 *** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
 | Nothing is ever accomplished by a reasonable man.
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Fri Apr 14 23:10:54 UTC 2006 
State-Changed-Why:  
Maintainer was reset. 


Responsible-Changed-From-To: pat->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Apr 14 23:10:54 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: shaun 
Responsible-Changed-When: Sun Jul 16 20:01:35 UTC 2006 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 
State-Changed-From-To: open->feedback 
State-Changed-By: shaun 
State-Changed-When: Mon Jul 17 20:55:49 UTC 2006 
State-Changed-Why:  
Could you see if this patch works for you? 
http://people.freebsd.org/~shaun/patches/wmclockmon.diff 

(create a directory called 'files' in x11-clocks/wmclockmon, and 
put the patch in it; name the file patch-src_main.c) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 

From: Soeren Straarup <xride@x12.dk>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/86334: x11-clocks/wmclockmon :: bun in internet time
 calculationB
Date: Tue, 18 Jul 2006 10:13:21 +0200 (CEST)

 Shaun that patch makes it act like wmitime, i haven't found a reliable
 source for internet time online to check against.
 
 \Soeren
 
 Soeren Straarup   | aka OZ2DAK aka Xride
 FreeBSD wannabe   | FreeBSD since 2.2.6-R
    If a program is not working right, then send a patch
State-Changed-From-To: feedback->closed 
State-Changed-By: shaun 
State-Changed-When: Tue Jul 18 20:53:15 UTC 2006 
State-Changed-Why:  
The current maintainer and I have added a patch to correct the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86334 
>Unformatted:
