Hi Ian,

Ian Barton wrote:
Has anybody tried adding the functionality of %%(diary-sunrise-sunset)
(sunrise, sunset time and daylight hours) to the google weather code?

I just have something like:

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

in one of my Agenda files. Sunrise then appears at sunrise time in my Agenda
like:

    Sunrise:     6:53...... Sunrise (GMT), sunset 5:52pm (GMT) at
Wilkesley (10:58 hours daylight)

Do you have a way to get the sunset located on a line on its own (different
line from the sunrise one)?  That'd be even much nicer...

No, but I would like one:) If there were separate diary functions for sunrise and sunset it would be easy. Maybe I need to look at the diary elisp and write my own separate functions.

Ian.

Reply via email to