summaryrefslogtreecommitdiff
path: root/lisp/calendar/parse-time.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calendar/parse-time.el')
-rw-r--r--lisp/calendar/parse-time.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/calendar/parse-time.el b/lisp/calendar/parse-time.el
index 4086d236557..fd26e772b57 100644
--- a/lisp/calendar/parse-time.el
+++ b/lisp/calendar/parse-time.el
@@ -42,12 +42,11 @@
(defsubst parse-time-string-chars (char)
(save-match-data
- (let (case-fold-search str)
+ (let (str)
(cond ((eq char ?+) 1)
((eq char ?-) -1)
((eq char ?:) ?d)
- ((string-match "[[:upper:]]" (setq str (string char))) ?A)
- ((string-match "[[:lower:]]" str) ?a)
+ ((string-match "[[:lower:]]" (setq str (string char))) ?a)
((string-match "[[:digit:]]" str) ?0)))))
(defun parse-time-tokenize (string)