2030 is no longer "far in the future".  But don't assume all clients
support 64 bit times yet.  For now, bump it up to just below the 2038
limit.
---
 pattern.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pattern.c b/pattern.c
index a7f9e48e..a6518ac6 100644
--- a/pattern.c
+++ b/pattern.c
@@ -904,7 +904,7 @@ static int eval_date_minmax (pattern_t *pat, const char *s, 
BUFFER *err)
   /* Arbitrary year in the future.  Don't set this too high
      or mutt_mktime() returns something larger than will
      fit in a time_t on some systems */
-  max.tm_year = 130;
+  max.tm_year = 137;
   max.tm_mon = 11;
   max.tm_mday = 31;
   max.tm_hour = 23;
-- 
2.52.0

Reply via email to