diff --git a/bin/utils/date-add.rex b/bin/utils/date-add.rex index bf6b0d120d..3763be6af7 100755 --- a/bin/utils/date-add.rex +++ b/bin/utils/date-add.rex @@ -56,7 +56,7 @@ target = today + days ISOTarget = Date("Standard", target, "Base") /* ISOTarget YYYYMMDD */ -/* 12344578 => YYYY = 1234, MM = 56, DD = 78 */ +/* 12345678 => YYYY = 1234, MM = 56, DD = 78 */ if pos("YYYY", dformat) = 0 then dformat = overlay("34", dformat, pos("YY", dformat))