From mboxrd@z Thu Jan  1 00:00:00 1970
From: Thorsten Jolitz <tjolitz@gmail.com>
Subject: Re: org-weather for openweathermap.org
Date: Mon, 16 Jun 2014 12:45:54 +0200
Message-ID: <874mzldtel.fsf@gmail.com>
References: <871turvdom.fsf@dylan.nashville> <87sin7twqg.fsf@gmail.com>
	<87oaxu1p40.fsf@dylan.nashville> <87lhsyxu9o.fsf@gmail.com>
	<539EC1F8.7050207@wilkesley.net>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43012)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwUQa-0002wR-9Q
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 06:46:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwUQU-0003ox-SA
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 06:46:16 -0400
Received: from plane.gmane.org ([80.91.229.3]:41537)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwUQU-0003os-JZ
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 06:46:10 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwUQS-0000wy-Df
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 12:46:08 +0200
Received: from e178191245.adsl.alicedsl.de ([85.178.191.245])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Mon, 16 Jun 2014 12:46:08 +0200
Received: from tjolitz by e178191245.adsl.alicedsl.de with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Mon, 16 Jun 2014 12:46:08 +0200
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: emacs-orgmode@gnu.org

Ian Barton <lists@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?

-- 
cheers,
Thorsten