Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5e471f0d
Commit
5e471f0d
authored
Aug 03, 2013
by
Glenn Morris
Browse files
* test/automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import): Add debug messages.
parent
8cd4636c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
test/ChangeLog
test/ChangeLog
+1
-1
test/automated/icalendar-tests.el
test/automated/icalendar-tests.el
+4
-0
No files found.
test/ChangeLog
View file @
5e471f0d
...
...
@@ -4,7 +4,7 @@
* automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import):
Use getenv/setenv rather than set-time-zone-rule.
Use getenv/setenv rather than set-time-zone-rule.
Add debug messages.
(icalendar-tests--test-import): Reset zone even if error occurred.
2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
...
...
test/automated/icalendar-tests.el
View file @
5e471f0d
...
...
@@ -433,7 +433,9 @@ and ISO style input data must use english month names."
(
icalendar-recurring-start-year
2000
))
(
unwind-protect
(
progn
(
message
"Current time zone: %s"
(
current-time-zone
))
(
setenv
"TZ"
"CET"
)
(
message
"Current time zone: %s"
(
current-time-zone
))
(
when
input-iso
(
let
((
calendar-month-name-array
[
"January"
"February"
"March"
"April"
"May"
"June"
"July"
"August"
...
...
@@ -674,7 +676,9 @@ Argument EXPECTED-AMERICAN expected american style diary string."
(
let
((
timezone
(
getenv
"TZ"
)))
(
unwind-protect
(
progn
(
message
"Current time zone: %s"
(
current-time-zone
))
(
setenv
"TZ"
"CET"
)
(
message
"Current time zone: %s"
(
current-time-zone
))
(
with-temp-buffer
(
if
(
string-match
"^BEGIN:VCALENDAR"
input
)
(
insert
input
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment