unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* calendar
@ 2005-10-21  2:46 Sean Sieger
  2005-10-21  9:00 ` calendar Peter Dyballa
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Sieger @ 2005-10-21  2:46 UTC (permalink / raw)


When I do either 'M' or 'S' in calendar I get
really wrong lunar and solar data. Is there
something really wrong with what I have in my
dotemacs:

(setq calendar-latitude 40.7)
(setq calendar-longitude -73.9)
(setq calendar-location-name "New York, NY")
(setq calendar-time-zone -500)
(setq calendar-standard-time-zone-name "EST")
(setq calendar-daylight-time-zone-name "EDT")

and yes indeed, I live in Manhattan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: calendar
  2005-10-21  2:46 calendar Sean Sieger
@ 2005-10-21  9:00 ` Peter Dyballa
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2005-10-21  9:00 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 21.10.2005 um 04:46 schrieb Sean Sieger:

> (setq calendar-time-zone -500)
> (setq calendar-standard-time-zone-name "EST")
> (setq calendar-daylight-time-zone-name "EDT")
>

I'm living at UTC+1 (east of Greenwich, London, UK, MET timezone) and 
have these:

(setq calendar-current-time-zone-cache
         (calendar-nth-named-day -1 0  3 year)
         (calendar-nth-named-day -1 0 10 year)

I think I had a similiar problem some years ago and the statement above 
solved it.

--
Greetings

   Pete

Well done is better than well said.
    ---- Benjamin Franklin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: calendar
       [not found] <mailman.12078.1129862915.20277.help-gnu-emacs@gnu.org>
@ 2005-10-21 12:05 ` Johan Bockgård
  2005-10-22 16:26   ` calendar Sean Sieger
  2005-10-27 23:28 ` calendar Edward Dodge
  1 sibling, 1 reply; 5+ messages in thread
From: Johan Bockgård @ 2005-10-21 12:05 UTC (permalink / raw)


Sean Sieger <sean.sieger@gmail.com> writes:

> When I do either 'M' or 'S' in calendar I get really wrong lunar and
> solar data. Is there something really wrong with what I have in my
> dotemacs:
[...]
> (setq calendar-location-name "New York, NY")
> (setq calendar-time-zone -500)

,----
| calendar-time-zone is a variable defined in `cal-dst'. [...]
| 
| Documentation:
| *Number of minutes difference between local standard time at
| `calendar-location-name' and Coordinated Universal (Greenwich) Time.
| For example, -300 for New York City, -480 for Los Angeles.
`----

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: calendar
  2005-10-21 12:05 ` calendar Johan Bockgård
@ 2005-10-22 16:26   ` Sean Sieger
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Sieger @ 2005-10-22 16:26 UTC (permalink / raw)


bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

   ,----
   | calendar-time-zone is a variable defined in `cal-dst'. [...]
   | 
   | Documentation:
   | *Number of minutes difference between local standard time at
   | `calendar-location-name' and Coordinated Universal (Greenwich) Time.
   | For example, -300 for New York City, -480 for Los Angeles.
   `----

Thank you.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: calendar
       [not found] <mailman.12078.1129862915.20277.help-gnu-emacs@gnu.org>
  2005-10-21 12:05 ` calendar Johan Bockgård
@ 2005-10-27 23:28 ` Edward Dodge
  1 sibling, 0 replies; 5+ messages in thread
From: Edward Dodge @ 2005-10-27 23:28 UTC (permalink / raw)


Sean Sieger <sean.sieger@gmail.com> writes:

> When I do either 'M' or 'S' in calendar I get
> really wrong lunar and solar data. Is there
> something really wrong with what I have in my
> dotemacs:
> 
> (setq calendar-latitude 40.7)
> (setq calendar-longitude -73.9)
> (setq calendar-location-name "New York, NY")
> (setq calendar-time-zone -500)
> (setq calendar-standard-time-zone-name "EST")
> (setq calendar-daylight-time-zone-name "EDT")
> 
> and yes indeed, I live in Manhattan.


C-h v calendar-time-zone tells me this:


    calendar-time-zone's value is -420

    Documentation:
    *Number of minutes difference between local standard time at
    `calendar-location-name' and Coordinated Universal (Greenwich) Time.  For
    example, -300 for New York City, -480 for Los Angeles.

    Defined in `cal-dst'.




-- 
Edward Dodge
          
   __o    
 _`\(,_   
(_)/ (_)  ---  --- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-27 23:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.12078.1129862915.20277.help-gnu-emacs@gnu.org>
2005-10-21 12:05 ` calendar Johan Bockgård
2005-10-22 16:26   ` calendar Sean Sieger
2005-10-27 23:28 ` calendar Edward Dodge
2005-10-21  2:46 calendar Sean Sieger
2005-10-21  9:00 ` calendar Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).