# HG changeset patch # User Markus Mützel # Date 1642179353 -3600 # Node ID 7677d53497c9b2d5e21750829f95428d9e2d0290 # Parent 1aa0456ecb18c88e8839dec04913227a2b894c8b# Parent beac32c0e9c7b6b23dc3ab92ffbb7c732ee44340 maint: Merge stable to default. diff -r 1aa0456ecb18 -r 7677d53497c9 scripts/time/datevec.m --- a/scripts/time/datevec.m Fri Jan 14 08:31:07 2022 -0800 +++ b/scripts/time/datevec.m Fri Jan 14 17:55:53 2022 +0100 @@ -251,9 +251,10 @@ elseif (numel (strfind (f, "%m")) + numel (strfind (f, "%b")) + numel (strfind (f, "%B")) > 1) err_or_warn ("datevec: multiple month specifiers in %s", original_f); - elseif (numel (strfind (f, "%d")) + numel (strfind (f, "%a")) - + numel (strfind (f, "%A")) > 1) + elseif (numel (strfind (f, "%d")) > 1) err_or_warn ("datevec: multiple day specifiers in %s", original_f); + elseif (numel (strfind (f, "%a"))+ numel (strfind (f, "%A")) > 1) + err_or_warn ("datevec: multiple day of week specifiers in %s", original_f); elseif (numel (strfind (f, "%H")) + numel (strfind (f, "%I")) > 1) err_or_warn ("datevec: multiple hour specifiers in %s", original_f); elseif (numel (strfind (f, "%M")) > 1)