Subject: bug#18710: closed (Re: bug#18710: 24.3; icalendar-import-file does not respect daylight savings)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 14 Oct 2014 15:35:04 +0000

Your bug report

#18710: 24.3; icalendar-import-file does not respect daylight savings

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18710: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18710
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18710: 24.3; icalendar-import-file does not respect daylight savings
From: Ulf Jasper <[email-masked]>
To: Christophe Troestler <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Tue, 14 Oct 2014 17:34:00 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Christophe Troestler <[email-masked]> writes:

> but when I convert the attached ICS calendar containing an event with
> the following dates:
>
>     DTSTART:20141103T121500Z
>     DTEND:20141103T141500Z
>
> with (icalendar-import-file "a.ics" "a"), I get
>
>     3/11/2014 14:15-16:15 ...
>
> Thus the conversion did not use the fact that, at this date, the
> winter time (UTC+1) is in use and not UTC+2 (the current time).

Thanks for reporting.  This is a duplicate of bug #15408 which has been
resolved on trunk.

Closing this bug.

BTW: `calendar-daylight-savings-starts-time' and
`calendar-daylight-savings-ends-time' are not important here.  Rather it
is `calendar-daylight-savings-starts' and
`calendar-daylight-savings-ends'.  But you probably would not need to
touch these either.  Please have a look at the "Daylight Saving Time"
section in the Emacs manual.

Subject: 24.3; icalendar-import-file does not respect daylight savings
From: Christophe Troestler <[email-masked]>
To: <[email-masked]>
Date: Mon, 13 Oct 2014 17:12:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

My daylight savings are

    calendar-daylight-savings-starts-time = 120
    calendar-daylight-savings-ends-time   = 180

but when I convert the attached ICS calendar containing an event with
the following dates:

    DTSTART:20141103T121500Z
    DTEND:20141103T141500Z

with (icalendar-import-file "a.ics" "a"), I get

    3/11/2014 14:15-16:15 ...

Thus the conversion did not use the fact that, at this date, the
winter time (UTC+1) is in use and not UTC+2 (the current time).

Could you please fix this bug?

Thanks,
C.

----------------------------------------------------------------------

In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2)
 of 2014-09-08 on binet, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11601000
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
 -fstack-protector-strong -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  desktop-save-mode: t
  TeX-PDF-mode: t
  show-paren-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-z <switch-frame> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
C-x m s u e n t i n <tab> <M-backspace> s <backspace> 
q u e n <tab> b <tab> <tab> <M-tab> <down> M a t h 
SPC e l e m SPC 5 M-> S A l u t , <return> <up> M-c 
<down> <down> <return> J ' a i SPC m i s SPC m a SPC 
c o r r e c t i o n SPC d u SPC t e s t SPC 5 SPC d 
a n s SPC <backspace> <backspace> s SPC t o n SPC a 
s i e r SPC e t <C-left> <C-left> c <down> SPC l e 
SPC f c h i <backspace> <backspace> <backspace> i c 
h i e r SPC s u r SPC d r o p b v o <backspace> <backspace> 
<backspace> b o x . M-q C-x C-s <return> <return> B 
o n n e SPC f i n SPC d e SPC j o u r n é e , <return> 
c . <backspace> <backspace> C . C-c C-c y p d SPC SPC 
d SPC d n <switch-frame> <help-echo> C-x C-f ~ / . 
e m <tab> i n i <tab> <return> C-s h r a <backspace> 
<backspace> p <backspace> <backspace> h o r a i <next> 
<down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <down-mouse-4> 
<mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <down-mouse-1> <mouse-movement> <mouse-1> 
<C-left> C-SPC <C-right> <C-right> <C-right> M-w <switch-frame> 
C-h v C-y <return> C-h v C-y <return> M-x b u g <tab> 
<tab> <M-backspace> <M-backspace> e m a <tab> <down-mouse-1> 
<mouse-movement> <mouse-2> <return> C-g <switch-frame> 
<switch-frame> M-x r e p o <tab> r t ² <backspace> 
<tab> e m <tab> b <tab> <return>

Recent messages:
Loading image...done
Updating speedbar to: /home/trch/.emacs.d/...done
Mark saved where search started
Mark set
Type "q" in help window to restore its previous buffer.

Making completion list... [2 times]
Please enter a number.
Quit
Making completion list...

Load-path shadows:
/usr/share/emacs/site-lisp/maxima/sshell hides /usr/share/emacs24/site-lisp/gcl/sshell
/usr/share/emacs/site-lisp/maxima/smart-complete hides /usr/share/emacs24/site-lisp/gcl/smart-complete
/usr/share/emacs/site-lisp/maxima/maxima-font-lock hides /usr/share/emacs24/site-lisp/maxima/maxima-font-lock
/usr/share/emacs/site-lisp/maxima/setup-imaxima-imath hides /usr/share/emacs24/site-lisp/maxima/setup-imaxima-imath
/usr/share/emacs/site-lisp/maxima/imaxima hides /usr/share/emacs24/site-lisp/maxima/imaxima
/usr/share/emacs/site-lisp/maxima/sshell hides /usr/share/emacs24/site-lisp/maxima/sshell
/usr/share/emacs/site-lisp/maxima/imath hides /usr/share/emacs24/site-lisp/maxima/imath
/usr/share/emacs/site-lisp/maxima/imaxima-autoconf-variables hides /usr/share/emacs24/site-lisp/maxima/imaxima-autoconf-variables
/usr/share/emacs/site-lisp/maxima/maxima hides /usr/share/emacs24/site-lisp/maxima/maxima
/usr/share/emacs/site-lisp/maxima/emaxima hides /usr/share/emacs24/site-lisp/maxima/emaxima
/usr/share/emacs/site-lisp/maxima/smart-complete hides /usr/share/emacs24/site-lisp/maxima/smart-complete
/usr/share/emacs/site-lisp/maxima/bookmode hides /usr/share/emacs24/site-lisp/maxima/bookmode
~/nobackup/software/matlab-emacs/tlc hides /usr/share/emacs24/site-lisp/emacs-goodies-el/tlc
~/nobackup/software/matlab-emacs/matlab hides /usr/share/emacs24/site-lisp/emacs-goodies-el/matlab
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.3/lisp/hex-util
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.3/lisp/md4
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/textmodes/ispell
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.3/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.3/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.3/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.3/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.3/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.3/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.3/lisp/net/sasl
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.3/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex
/usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en

Features:
(shadow emacsbug message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
mail-utils debian-bug rfc2047 rfc2045 ietf-drums texmathp latexenc
dabbrev calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs
ispell org-element org-wl org-w3m org-vm org-rmail org-mhe org-mew
org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks
org-agenda org-info org-gnus org-docview org-bibtex org-bbdb org
ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint
ob-keys org-pcomplete org-list org-faces org-entities org-version
ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs find-func
help-mode tramp-cache tramp tramp-compat tramp-loaddefs view cal-china
lunar solar cal-dst cal-islam holidays hol-loaddefs cal-move misearch
multi-isearch qp reftex-parse w3m-form mew-varsx mew-unix mew-w3m
cl-macs gv cl w3m doc-view dired image-mode w3m-hist w3m-fb
bookmark-w3m w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image
w3m-proc w3m-util diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs jka-compr info conf-mode mule-util caml-font caml
tuareg_indent tuareg smie caml-help caml-types caml-emacs vc-git
reftex-auc preview prv-emacs tex-buf reftex-dcr reftex reftex-vars
noutline outline latex tex-style desktop tlc matlab-load font-latex
tex dbus xml warnings bibtex speedbar sb-image ezimage dframe
erc-goodies erc erc-backend erc-compat auth-source eieio byte-opt
bytecomp byte-compile cconv gnus-util mm-util mail-prsvr
password-cache pp bbdb-mew mew-auth mew-config mew-imap2 mew-imap
mew-nntp2 mew-nntp mew-pop mew-smtp mew-ssl mew-ssh mew-net
mew-highlight mew-sort mew-fib mew-ext mew-refile mew-demo mew-attach
mew-draft mew-message mew-thread mew-virtual mew-summary4 mew-summary3
mew-summary2 mew-summary mew-search mew-pick mew-passwd mew-scan
mew-syntax mew-bq mew-smime mew-pgp mew-header mew-exec mew-mark
mew-mime mew-edit mew-decode mew-encode mew-cache mew-minibuf
mew-complete mew-addrbook mew-local mew-vars3 mew-vars2 mew-vars
mew-env mew-mule3 mew-mule mew-gemacs mew-key mew-func mew-blvs
mew-const mew bbdb timezone paren package server debian-el
debian-el-loaddefs w3m-load haskell-mode-autoloads edmacro kmacro ido
ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv
ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d
ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars
cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile
ess-tracebug format-spec ess-roxy advice cl-lib advice-preload
hideshow ess-help ess-developer ess-r-args eldoc help-fns ess-s-l ess
ess-inf comint ansi-color ring ess-mode ess-noweb-mode ess-utils
ess-custom executable easymenu ess-compat ess-site emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs easy-mmode bbdb-autoloads
preview-latex tex-site auto-loads time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar
gtk x-toolkit x multi-tty emacs)