summaryrefslogtreecommitdiff
path: root/lisp/org/org-datetree.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/org-datetree.el')
-rw-r--r--lisp/org/org-datetree.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org/org-datetree.el b/lisp/org/org-datetree.el
index 59cbcdfd23b..d76fd515c60 100644
--- a/lisp/org/org-datetree.el
+++ b/lisp/org/org-datetree.el
@@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org
-;; Version: 6.33c
+;; Version: 6.33x
;;
;; This file is part of GNU Emacs.
;;
@@ -101,7 +101,7 @@ tree can be found."
(defun org-datetree-find-day-create (year month day)
(org-narrow-to-subtree)
- (let ((re (format "^\\*+[ \t]+%d-%02d-\\([01][0-9]\\)[ \t\n]" year month))
+ (let ((re (format "^\\*+[ \t]+%d-%02d-\\([0123][0-9]\\)[ \t\n]" year month))
match)
(goto-char (point-min))
(while (and (setq match (re-search-forward re nil t))