[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 74999] Night Weather Icons show during Day/Day during Night
From: Peter Hyman <pete4abw () comcast ! net>
Date: 2004-02-21 23:11:46
Message-ID: 20040221231146.16034.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=74999
------- Additional Comments From pete4abw comcast net 2004-02-22 00:11 -------
No. First time through was sort of OK. There is a problem with the parsing for \
latitude and longitude where the mid( parsing is starting one character too early. \
But the time is still wrong on subsequent reports. there is a continuing problem \
converting localUTCOffset:
Here is the error in the mid function in the latitudeToDouble function:
/* Peter Hyman: extended mid parsing to position 4 */
double mm = latitude.mid(3, 2).toDouble();
and the longitudeToDouble function
/* Peter Hyman: extended mid parsing to position 5 */
double mm = longitude.mid(5, 2).toDouble();
Here's the program output:
(note on the weather report screen, the location is no longer shown at all. and note \
how the location becomes lower case when the report is called. What a Pandora's box I \
opened)!
kweatherservice: Wind Chill: 37.7276
kweatherservice: station, current, lat, lon, rise, set, offset: KTTN 17:59:08 \
40-16-35N 074-48-59W 06:17:19 18:08:25 -300
kweatherservice: Clouds: 11, Icon: cloudy4
kweatherservice: Sending update for KTTN
kweather: refresh KTTN
kweatherservice: Searching for job...
kweather: Showing out the report
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-peter/ksycoca
kweatherservice: Get the current weather icon..
kweatherservice: Returning kttn
kweatherservice: station, lat, lon, rise time: kttn 00:49:16
kweatherservice: station, lat, lon, set time: kttn 13:38:07
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic