Fixed bug (month number 10 was missing).

time-shift
Stéphane Adjemian (Charybdis) 2013-10-10 14:05:12 +02:00
parent f4e32dbd6f
commit 5a1b5aaf73
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function b = ismonthly(str) % --*-- Unitary tests --*--
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
b = ~isempty(regexp(str,'^-?[0-9]*[Mm]([1-9]|1[12])$'));
b = ~isempty(regexp(str,'^-?[0-9]*[Mm]([1-9]|1[0-2])$'));
%@test:1
%$