From 5db5eb444d923ac74a553899b8dbfcc1cb6faa7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Sat, 5 May 2018 14:51:49 +0200
Subject: [PATCH] Improved error message...

... returned when one tries to instantiate a dates object with an
object which cannot be interpreted as a date.
---
 src/@dates/dates.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/@dates/dates.m b/src/@dates/dates.m
index ca5858e..95b1612 100644
--- a/src/@dates/dates.m
+++ b/src/@dates/dates.m
@@ -107,7 +107,7 @@ methods
             end
             return
         end
-        error('dates:ArgCheck','You should first read the manual!')
+        error('dates:ArgCheck','The input cannot be interpreted as a date. You should first read the manual!')
     end % dates constructor.
         % Other methods
     p = sort(o);
-- 
GitLab