View Issue Details

IDProjectCategoryView StatusLast Update
0000786SkyChart1-Softwarepublic11-09-03 14:48
Reportertakkun Assigned ToPatrick Chevalley  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86 LinuxOSUbuntu OS Version10.04 LTS
Product Version3.2 
Target Version3.4Fixed in Version3.3 SVN 
Summary0000786: Time zone for Japan is incorrect
DescriptionThe time zone for Japan is not correct. In the observatory menu, I selected Japan, Tokyo from the observatory database, but I could not select any time zone for the country timezone. Then I manually selected Etc/GMT+9, which is the standard time zone of Japan (JST), but it does not work correctly (sunrize - sunset time is completely wrong). Then I tried to use Etc/GMT-9 and it seems work fine. I believe it is a bug of the calculation of the time
TagsNo tags attached.

Activities

Patrick Chevalley

11-01-27 08:06

administrator   ~0001529

The Japan timezone is not selected automatically because of a mismatch between JA and JP in the country database.
I fix that for next snapshot but you can do the correction immediately yourself.

Edit the file country.dat:
sudo vi /usr/share/skychart/data/sample/country.dat
replace the line
JA JA Japan
by
JA JP Japan
be sure to respect the tabulation.

Delete the skychart database:
rm ~/.skychart/database/cdc.db

Start skychart again.

It's right to use Etc/GMT-9 for Japan because the Zoneinfo database (/usr/share/zoneinfo) use Posix convention.
see
http://www.ap-i.net/skychart/en/documentation/observatory#observatory
and
http://en.wikipedia.org/wiki/Tz_database#Area

Patrick Chevalley

11-01-28 12:48

administrator   ~0001530

Fixed by revision 1658
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1658

Issue History

Date Modified Username Field Change
11-01-27 06:55 takkun New Issue
11-01-27 08:06 Patrick Chevalley Note Added: 0001529
11-01-27 08:06 Patrick Chevalley Assigned To => Patrick Chevalley
11-01-27 08:06 Patrick Chevalley Status new => assigned
11-01-27 08:06 Patrick Chevalley Target Version 0.3.0 => 3.4
11-01-28 12:48 Patrick Chevalley Note Added: 0001530
11-01-28 12:48 Patrick Chevalley Status assigned => resolved
11-01-28 12:48 Patrick Chevalley Resolution open => fixed
11-01-28 12:48 Patrick Chevalley Fixed in Version 0.3.0 => 3.3 SVN
11-09-03 14:48 Patrick Chevalley Status resolved => closed