GNU bug report logs - #41543
28.0.50; Wrong sunrise and sunset here

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 26 May 2020 15:28:02 UTC

Severity: minor

Tags: notabug

Found in version 28.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jean Louis <bugs <at> gnu.support>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 41543 <at> debbugs.gnu.org
Subject: bug#41543: 28.0.50; Wrong sunrise and sunset here
Date: Thu, 28 May 2020 11:07:39 +0300
* Glenn Morris <rgm <at> gnu.org> [2020-05-28 01:56]:
> Jean Louis wrote:
> 
> > (setq calendar-latitude 29.72780)
> > (setq calendar-longitude 1.12484)
> > (setq calendar-time-zone 180)
> 
> You seem to have mixed up longitude and latitude.
> It is unlikely somewhere 1 degree east of the meridian is 3 hours ahead
> of UTC.

Ah, thank you, I have mixed the latitude and longitude and did not put
it negative for latitude.

$ termux-location -p gps

{
  "latitude": -1.12455759,
  "longitude": 29.72765716,
  "altitude": 1825.0,
  "accuracy": 18.0,
  "bearing": 287.3999938964844,
  "speed": 1.9112823009490967,
  "elapsedMs": 6,
  "provider": "gps"
}

Now it is showing me pretty correctly:

M-x sunrise-sunset

Sunrise 6:57am (UTC+180), sunset 6:59pm (UTC+180) at Bwindi
Impenetrable Forest (12:02 hrs daylight)

Thank you,
Jean




This bug report was last modified 4 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.