From 3191b0c887b8d61e4316537d4a316e656d43e99f Mon Sep 17 00:00:00 2001
From: Phil Bajsicki <phil@bajsicki.com>
Date: Sat, 26 Apr 2025 01:09:51 +0200
Subject: [PATCH] Improve org-ql-select-by-date precision

---
 README.org         | 2 +-
 gptel-org-tools.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index ebb0d26..4dda837 100644
--- a/README.org
+++ b/README.org
@@ -610,7 +610,7 @@ DATE is the date or date range to match."
                             :description "Buffer name.")
                           '(:name "date"
                             :type string
-                            :description "Date in YYYY or YYYY-MM format."))
+                            :description "Date string in YYYY or YYYY-MM format. No <, >, [, ]. Just the numbers and dashes."))
               :category "org"))
 #+end_src
 
diff --git a/gptel-org-tools.el b/gptel-org-tools.el
index aa6c33a..ae7a997 100644
--- a/gptel-org-tools.el
+++ b/gptel-org-tools.el
@@ -228,7 +228,7 @@ DATE is the date or date range to match."
                             :description "Buffer name.")
                           '(:name "date"
                             :type string
-                            :description "Date in YYYY or YYYY-MM format."))
+                            :description "Date string in YYYY or YYYY-MM format. No <, >, [, ]. Just the numbers and dashes."))
               :category "org"))
 
 (defun gptel-org-tools--org-agenda-seek (days)