aboutsummaryrefslogtreecommitdiff
path: root/convert-org-contacts-birthdays.el
diff options
context:
space:
mode:
Diffstat (limited to 'convert-org-contacts-birthdays.el')
-rw-r--r--convert-org-contacts-birthdays.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/convert-org-contacts-birthdays.el b/convert-org-contacts-birthdays.el
index eea79a8..373613a 100644
--- a/convert-org-contacts-birthdays.el
+++ b/convert-org-contacts-birthdays.el
@@ -63,15 +63,6 @@
(require 'org)
-(defun chime--extract-birthday-year (birthday-string)
- "Extract year from BIRTHDAY-STRING, handling various formats.
-Returns nil if no year is present or if year should be ignored.
-Handles formats like:
- 2000-03-15
- 03-15
- 1985-12-25"
- (when (string-match "^\\([0-9]\\{4\\}\\)-[0-9]\\{2\\}-[0-9]\\{2\\}$" birthday-string)
- (string-to-number (match-string 1 birthday-string))))
(defun chime--parse-birthday (birthday-string)
"Parse BIRTHDAY-STRING into (YEAR MONTH DAY) list.