Bug 86334 - x11-clocks/wmclockmon :: bug in internet time calculation
Summary: x11-clocks/wmclockmon :: bug in internet time calculation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Shaun Amott
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 14:50 UTC by Frank Altpeter
Modified: 2006-07-18 21:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Altpeter 2005-09-19 14:50:17 UTC
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 dhùraghd,

	Frank Altpeter

-- 
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-21 04:33:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pat

Over to maintainer
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-05 04:29:32 UTC
State Changed
From-To: open->feedback

Did you contact the author of the software?
Comment 3 Frank Altpeter 2006-01-06 13:21:19 UTC
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 dhùraghd,

	Frank Altpeter

-- 
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
| Nothing is ever accomplished by a reasonable man.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2006-04-15 00:10:54 UTC
State Changed
From-To: feedback->open

Maintainer was reset. 


Comment 5 Mark Linimon freebsd_committer freebsd_triage 2006-04-15 00:10:54 UTC
Responsible Changed
From-To: pat->freebsd-ports-bugs
Comment 6 Shaun Amott freebsd_committer freebsd_triage 2006-07-16 21:01:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

Take it.
Comment 7 Shaun Amott freebsd_committer freebsd_triage 2006-07-17 21:55:49 UTC
State Changed
From-To: open->feedback

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)
Comment 8 Soeren Straarup 2006-07-18 09:13:21 UTC
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
Comment 9 Shaun Amott freebsd_committer freebsd_triage 2006-07-18 21:53:15 UTC
State Changed
From-To: feedback->closed

The current maintainer and I have added a patch to correct the problem.