On 16/06/14 11:45, Thorsten Jolitz wrote:
Ian Barton <li...@wilkesley.net> writes:

On 15/06/14 12:54, Thorsten Jolitz wrote:




Not sure though if this data (except the moon phase) is as universally
and easily available as the data you display .... Sunset and rise would
be interesting too of course.


You can get sunrise and sunset by doing something like in an Agenda file:

* Weather.

Lat N 51 57.931
Long W 03 33.191

#+CATEGORY: Day/Year
&%%(diary-day-of-year)
#+CATEGORY: Weather

%%(diary-sunrise)
%%(diary-sunset)

Thanks, had to use this to make it work:

#+CATEGORY: Citiy
%%(diary-sunrise-sunset)


  City:      6:32...... Sunrise (CEST), sunset 11:16pm (CEST)

But somehow lat/long are right, but time is 2h off ... I'm GMT+2 (CEST) here.
Where is the time adjusted for diary entries?

The Emacs manual has the information: https://www.gnu.org/software/emacs/manual/html_node/emacs/Daylight-Saving.html#Daylight-Saving

Also information on Lunar phases: https://www.gnu.org/software/emacs/manual/html_node/emacs/Lunar-Phases.html#Lunar-Phases

Ian.


Reply via email to